trichview.com

trichview.support




Re: Markers


Return to index


Author

Message

Sergey Tkachenko

Posted: 09/19/2003 13:57:33


You can use ApplyStyleConversion method.

See example in Demos\Delphi\Editors\Editor 1\


Well, these operations can change a structure of document. Text of some

style (character formatting) is one item in the document. Applying new style

(with ApplyStyleConversion) may change a number of items.


Turning such markers on/off is more serious problem. For example, you can

change properties of corresponding text styles (colored

background/transparent background)




> The project, I'm currently working on, should have an ability to mark

> text with some color. Just like, for example, in MsWord - you can change

> the color (or background color) of the selected text. To me it looks

> like in TRichView (and TRichViewEdit)  currently it's very hard thing to

> do. Am I wrong? There's ApplyTextStyle procedure in TRichViewEdit, but

> it isn't very useful.

> Can somebody give me hint on implementing such function? Or should I

> make a new-feature-request?

>

> Well, I need some kind of markers, which:

> 1. can be used to change the color text or background of paragraphs

> 2. wont change the structure of document

> 3. can be turned on and off

>





Powered by ABC Amber Outlook Express Converter