For any insertion point, the corresponding line number is returned. If the insertion point is -1, the number of the line containing the first insertion point of the selection is returned.

The term line means a line on the display after the application of word-wrap. It does not mean a line as defined by the CR LF line-break sequence.


[Back] [Next]