set-position-bias-scroll in text%
Like
set-position, but a scrolling bias can be specified.
( -> void
send a-text set-position-bias-scroll bias start end ateol? scroll? seltype)
bias : symbol in '(start-only start none end end-only)
start : exact non-negative integer
end = : exact non-negative integer or 'same'same
ateol? = : boolean
#f
scroll? = : boolean
#t
seltype = : symbol in 'default'(default x local)
The possible values for bias are:
'start-only -- only insure that the starting position is visible
'start -- if the range doesn't fit in the visible area, show the starting position
'none -- no special scrolling instructions
'end -- if the range doesn't fit in the visible area, show the ending position
'end-only -- only insure that the ending position is visible
See also
scroll-to-position.