Retrieves the line number of the line that contains the specified character position.
public int getLineFromChar( int charPos )
charPos
The character position for which to retrieve the line number.
Returns a zero-based integer that identifies the line in which the specified character position occurs.