Reply to: slow range.select() for large DocumentJune 5, 2009 at 6:27 am
After I turned off the formatter, the performance of the components like semantic checking improved dramatically.
Now I have another situation related to the range.selection(). After pasting or inserting new content into the document, I need to find out cursor position and display it by using range.selection(). Setting FormattingUpdating to false does not help much in this case because turning on formatter takes approximately same time as running range.selection with FormattingUpdating set to true.
May I know whether there is a way I can find out the cursor position WITHOUT using selection method?