Hello
I have rtf document with a table, opened in TRichViewEdit.
Lines insertion into the table works fast. Then I insert text into cells with InsertText, or use ApplyStyleConversion on cells, and it takes about 20 seconds to fill the table.
Table size 8 columns * 85 lines, 10 symbols in a cell.
TRichView 12.6.
Can I speed it up somehow ?
Thank you
slow InsertText
-
- Site Admin
- Posts: 17566
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: slow InsertText
1) Version 12.6 is an ancient version, many operations were optimized since that.
2) InsertText is an editing method, it was not designed to perform mass operations. Use AddTextNL (or AddNL, if text does not contain tabs and line breaks) to fill the table.
2) InsertText is an editing method, it was not designed to perform mass operations. Use AddTextNL (or AddNL, if text does not contain tabs and line breaks) to fill the table.