mjs@behemoth.genetics.wisc.edu (Mike Schmelzer) (04/03/91)
I want a one-line, horizontally-scrollable text widget to display a fairly long ( ~17k ) piece of editable text. I'm using an AsciiText widget with the following values: *text.wrap: textWrapNever *text.scrollHorizontal: whenNeeded *text.height: 50 *text.width: 500 *text.textSink.font: 12x24 *text.textSource.editType: edit The widget works just fine with strings up to ~1000 characters long, but performance degrades quickly if the string gets much larger. Not only does performance degrade, the text itself is displayed incorrectly after being edited. (However, scrolling the edited text offscreen and then back on shows the correct, edited text.) Most worrying, though, is the tendency to blank out areas of the screen outside the application's window. I tried allocating extra space and specifying useStringInPlace, but that had no effect. Another thing that had no effect was changing the pieceSize resource. Any ideas on what I should do? Thanks! -- ==== Mike Schmelzer, UW Genetix, mjs@genetics.wisc.edu, (608)263-7459. === ========= Schmelzer's Law: You can have anything you don't want. ========= ================ "How can hatred uplift a race?" - 3rd Bass ==============