Page 1 of 1

How to remove redundant listlevel entrys in saved RTF

Posted: Wed Nov 23, 2005 5:08 pm
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

Posted: Wed Nov 23, 2005 5:25 pm
by Michel
Hi Birger,

Try TCustomRichView.DeleteUnusedStyles().

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

HTH,

Michel