scroll-to in editor<%>
Called (indirectly) by snips within the editor: it causes the editor
to be scrolled so that a given location range within a given snip is
visible. If the editor is scrolled, #t is returned, otherwise
#f is returned.
(-> booleansendan-editorscroll-tosniplocalxlocalywidthheightrefresh?bias)
snip:snip%object
localx: real number
localy: real number
width: non-negative real number
height: non-negative real number
refresh?: boolean
bias=: symbol in'none'(start end none)The
localx,localy,width, andheightarguments specify the area that needs to be visible insnip's coordinate system.When the specified region cannot fit in the visible area,
biasindicates which end of the region to display. Whenbiasis'start, then the top-left of the region is displayed. Whenbiasis'end, then the bottom-right of the region is displayed. Otherwise,biasmust be'none.