Text of the current line - not item

General TRichView support forum. Please post your questions here
Post Reply
Roliat
Posts: 21
Joined: Wed Jul 27, 2011 4:12 pm

Text of the current line - not item

Post by Roliat »

Hello!

One simple question. How can I get the text only of the current line (the line where the caret actually is)? In standard-components there is the property "lines[xxx]". This is what I'm missing at the moment.

I know how to get the text of the CurrentItem - but that's not exactly what I'm looking for.

Thanks!
Btw: Very nice and quick support.
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Use the functions from RVGetText.pas (for ANSI strings) or RVGetTextW.pas (for Unicode strings)
Roliat
Posts: 21
Joined: Wed Jul 27, 2011 4:12 pm

Post by Roliat »

Thank you!
Post Reply