Re: [racket] Problem scrolling contents of text% in editor-snip%

2012-05-16 Thread Kieron Hardy
Thanks for the info Matthew. My misunderstanding of how the editor-snip% and text% classes work led me to believe that it should be possible to scroll a message string displayed within an editor-snip% and text% combination. Eventually I gave up trying to make those work the way I wanted. After re

Re: [racket] Problem scrolling contents of text% in editor-snip%

2012-05-16 Thread Matthew Flatt
There's currently no support in `editor-snip%' for scrolling within the snip. All scrolling actions are propagated to the enclosing view, which in this case would mean scrolling the canvas so that the editor snip is itself visible. At Mon, 14 May 2012 16:32:46 -0600, Kieron Hardy wrote: > Hi all,

[racket] Problem scrolling contents of text% in editor-snip%

2012-05-14 Thread Kieron Hardy
Hi all, I'm having problems getting the contents in a text% to scroll within an editor-snip%. The attached code displays part of a long string within a text% object in a smaller editor-snip% object. The print statements successfully show a few of the edit locations at some selected (x, y) points