lystad@skvax1.csc.ti.com (05/17/91)
I am using X11R4 and Motif 1.1 on a Sparc Station 1+. I have created a Scrolled Text widget using XmCreateScrolledText. The text displayed is one large string consisting of lines that are wider than the display by as little as fifty characters or by almost as much as 500 characters. The text is editable, but when I insert characters on a line it disappears, though it may take the addition of several characters before it disappears. The line isn't really gone, however. Each time I type a character the portion of the line after the cursor blinks in and out of view. (I don't remember whether or not the portion of the line before the cursor does too or not.) Also, scrolling slowly horizontally will restore the portions of the line that come back onto the screen. Fast scrolling often doesn't work. I have created a little menu that allows the font to be changed on the above scrolled text window. I've used XtSetValues on XmNfontList. With a fixed width font of width greater than 6, many of the lines will only show from the first half letter to occasionally as much as half a dozen letters. Many of the lines are shown completely, however. I have observed that it is not always the same lines that are show completely, and the amount of a given line that cannot be seen varies. Often, though, consecutive lines will have the same fraction shown. This happens both when I change font initially and when I scroll with the larger fonts. I have also observed the same problem with all of the larger variable width fonts that I've tried. Scrolling in either direction can restore a given line, though vertical scrolling often doesn't. If you can help me with these problems please respond by email. Thanks. Garr Lystad