trichview.com

trichview.support




Re: possible bug, Search/Replace question


Return to index


Author

Message

Sergey Tkachenko

Posted: 05/01/2002 11:24:06


In order to avoid adding new styles when pasting, right-click the component

at design time, choose "Settings" from the context menu, choose "Use a

predefined set of styles", click OK.



> > PS: Non-existing current text style? It's not a normal situation.

> >

> Ops... sorry for the confusion :) An explanation is needed. I used two

> rvedit  - 1. The main editor and 2. an invincible one. Therefore there

> are two rvstyles. The second rvstyles has only limited styles and upon

> detection will either add or reuse the first rvstyles. The second rvstyles

> will also clear added styles.

>

> There were a few reasons why I did this but the important ones are:-

> 1. When pasting from clipboard, I noticed that new styles were always

> added.

> 2. To detect if the style should be a unicode. Nice method!

> 3. To control the text, which style it should use.

> 4. To avoid rvstyles 'list error' especially when pasting from another

> rveditor.

>

>

>

>





Powered by ABC Amber Outlook Express Converter