Home › Forums › General XMetaL Discussion › API call to pause UI updates › Reply To: API call to pause UI updates
Reply to: API call to pause UI updates
March 23, 2012 at 11:23 pmIt does sound like this is referring to FormattingUpdating. Its main purpose is to improve performance a bit by temporarily disabling the display formatter while you are doing some intensive mucking around with your document.
As to the “dancing cursor”, another possibly relevant item is the use of Range instead of Selection. Range has exactly the same object model as Selection, but a Range object is “invisible” (and you can have multiple different ones in a script). Selection (particularly ActiveDocument.Selection) literally refers to the visible cursor/highlight in the document.