Re: Text size and position

Return to index




Posted: 10/02/2003 17:50:35

>Imagine generic text editor, which works with text (set of lines, and

>lines are sets of chars). In such text editor you can indicate to user

>current position in text (line, char) and text size.

>The question is: what can I show to the user using TRichViewEdit? I want

>  to be able to show some estimation of size of complex text and some

>estimation of current position.


Returns a line and column at the caret position:

procedure GetCurrentLineCol(var Line, Column: Integer);

I'm not sure, but it seems that "RVE.RVData.DrawItems.Count" is a count of

drawing lines.

Powered by ABC Amber Outlook Express Converter