Classes

Method XbpRtf():getLineFromChar() Foundation

Determines the number of the line that contains the character specified.

Syntax
:getLineFromChar( <nChar> ) --> nLine
Parameters
<nChar>
A numeric value with the number of a character in the text buffer. Character positions are counted beginning from zero.
Return

This method returns a numeric value with the number of the line. Line numbers are counted beginning from zero.

Description

The method :getLineFromChar() returns the number of the line which contains the character specified.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.