Method XbpMLE():lineFromChar() Foundation
Calculates the row number based on the character position in the edit buffer.
:lineFromChar( [<nPos>] ) --> nLine
This method returns a numeric value indicating the row number where the character at the position <nPos> would be displayed.
The method :lineFromChar() calculates the row number based on the position of an individual character within the edit buffer. In order to determine the current row number (the row where the cursor is currently found) the method is called without specifying a parameter.
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.