getLineFromCharacterIndex

getLineFromCharacterIndex(index: Integer): Integer;

The getLineFromCharacterIndex method of the JadeRichText class returns the number of the line that contains the character at the position specified in the index parameter.