get a line of text in faster way

General TRichView support forum. Please post your questions here
Post Reply
RichviewFan
Posts: 6
Joined: Fri Dec 29, 2006 6:08 pm

get a line of text in faster way

Post 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!
Sergey Tkachenko
Site Admin
Posts: 17569
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

(Was answered by e-mail)
Post Reply