Re: TextStyle on Line

Return to index



Sergey Tkachenko

Posted: 03/23/2004 22:20:56

I am afraid this is not possible, especially if text wraps at the middle of


But you can store the current selection, select line, apply, restore the

original selection.

For storing caret position you can use functions from RVLinear.pas (from

registered version, or download it here

PS: line may be wrapped differently after applying text style, if the new

style have different font.

> How change textstyle on line without selecting words or function

> RichViewEdit1.SelectCurrentLine;. I need automatically change textstyle


> which is wrap.



Powered by ABC Amber Outlook Express Converter