int = LineFromChar(charNo)
Returns the line number of the specified character.
Return ValueThe zero-based line number of the line containing the character index specified by charNo. If charNo is -1, the number of the line that contains the first character of the selection is returned. If there is no selection, the current line number is returned.