Product Information > JADE Encyclopaedia of Classes – Volume 3 > Chapter 2 - Window Classes > getLineFromCharacterIndex

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.