scroll-to in editor-canvas%
Requests scrolling so that the given region in the currently displayed editor is made visible.
( -> boolean
send an-editor-canvas scroll-to localx localy w h refresh? bias)
localx : real number
localy : real number
w : non-negative real number
h : non-negative real number
refresh? : boolean
bias = : symbol in 'none'(start end none)
The localx, localy, w, and h arguments specify
a region of the editor to be made visible by the scroll (in editor
coordinates).
If refresh? is not #f, then the editor is updated
immediately after a successful scroll.
The bias argument is one of:
'start -- if the range doesn't fit in the visible
area, show the top-left region
'none -- no special scrolling instructions
'end -- if the range doesn't fit in the visible area,
show the bottom-right region
The return value is #t if the display is scrolled, #f
if not (either because the requested region is already visible,
because the display has zero size, or because the editor is currently
printing.)