long FindPositionInLine (long i, float x, Bool *ateol = NULL, Bool *onit = NULL, float *edgeclose = NULL)
Given a graphical location within a line of the buffer, returns the item buffer
position at that location. See End of Line Ambiguity (section
) for a discussion of the
ateol parameter. If onit is non-NULL, it will be set to
TRUE if the line actually touches this position, or FALSE otherwise.
See wxMediaEdit::FindPosition (section
) for
a discussion of edgeclose.
Only valid when the buffer is viewed.