Page 1 of 1

Text of the current line - not item

Posted: Thu Jul 28, 2011 11:00 am
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.

Posted: Thu Jul 28, 2011 11:05 am
by Sergey Tkachenko
Use the functions from RVGetText.pas (for ANSI strings) or RVGetTextW.pas (for Unicode strings)

Posted: Thu Jul 28, 2011 10:26 pm
by Roliat
Thank you!