find-position-in-line in text%
Given a location within a line of the editor, returns the
position at the location. Lines are numbered starting with 0.
The result is only valid when the editor is displayed (see
Basic Organization).
Calling this method may force the recalculation of location
information, even if the editor currently has delayed refreshing (see
refresh-delayed?).
( -> exact non-negative integer
send a-text find-position-in-line line x at-eol? on-it? edge-close?)
line : exact non-negative integer
x : real number
at-eol? = : boxed boolean or #f#f
on-it? = : boxed boolean or #f#f
edge-close? = : boxed real number or #f#f
See End of Line for a discussion of the
at-eol? argument.
The on-it? box is filled with #t if the
line actually touches this position, or #f otherwise, unless
on-it? is #f.
See
find-position for a discussion of edge-close?.