get a line of text in faster way
Posted: Thu Jan 04, 2007 1:20 pm
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!
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!