trichview.com

trichview.support




Re: TextStyle on Line


Return to index


Author

Message

Sergey Tkachenko

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


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

item.


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

http://www.trichview.com/support/files/rvlinear.zip)


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

line

> which is wrap.

>

>





Powered by ABC Amber Outlook Express Converter