How to remove redundant listlevel entrys in saved RTF

General TRichView support forum. Please post your questions here
Post Reply
Birgerg

How to remove redundant listlevel entrys in saved RTF

Post by Birgerg »

Hi,

I have a rft file created with a old version of RichView, This file is full of
"listlevel" entrys. Because of that, pharsing is _very_ slow. (6 lines if text uses 1.6Mb)
What I am looking for is a way to remove this, using the new version of TRichView.

Here is a example http://birgerg.no-ip.org/wierd.rtf

Regards,
- Birger

Developer @ enlight AB
Michel
Posts: 92
Joined: Fri Oct 14, 2005 2:56 pm
Contact:

Post by Michel »

Hi Birger,

Try TCustomRichView.DeleteUnusedStyles().

There also exists TDBRichViewEdit.AutoDeleteUnusedStyles property - in case this is relevant to your situation.

HTH,

Michel
Post Reply