scroll-to in editor-canvas%
Requests scrolling so that the given region in the currently displayed editor is made visible.
(-> booleansendan-editor-canvasscroll-tolocalxlocalywhrefresh?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, andharguments 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
biasargument 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
#tif the display is scrolled,#fif not (either because the requested region is already visible, because the display has zero size, or because the editor is currently printing.)