Page 1 of 1

get a line of text in faster way

Posted: Thu Jan 04, 2007 1:20 pm
by RichviewFan
kind Sergey,

please I like obtain a similar routine for the TRichViewEdit:

GetLineText(LineNum:integer):widestring; // I use only unicode

For example typing a long line that wordwraps in two lines, calling GetLineText(2), it have to return only the real text in the second line, not the entire one.

Really I cannot figure out how to do this without consume cpu in lot of loops...

THANK YOU VERY MUCH!

Posted: Fri Jan 12, 2007 11:13 am
by Sergey Tkachenko
(Was answered by e-mail)