TSRichViewEdit.GetCurrentLineCol

<< Click to display table of contents >>

TSRichViewEdit.GetCurrentLineCol

Returns a line and column at the caret position in ActiveEditor.

procedure GetCurrentLineCol(var Line, Column: Integer);

Number of the first line on the page is 1. Number of the leftmost caret position in the line is 1.

If the caret is in a table cell, the method returns values for this table.

See also:

LineNumberProperty