IVsCompoundAction::FlushEditActions Method ()
Visual Studio 2015
Updates the various text layers (outlining, word wrap, and so on) when called.
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
From textmgr.idl:
HRESULT IVsCompoundAction::FlushEditActions();
Typically, updates to the various text layers (outlining, word wrap, and so on) are left to the very end, when CloseCompoundAction is called. In this case, however, a client could make some changes and then call into the environment to retrieve the caret position before CloseCompoundAction is called. Because the text layers have not been updated, the environment would provide inaccurate information.
To avoid this problem, use FlushEditActions. When a client calls this method, the environment performs the updates that are done with CloseCompoundAction. These updates are also done in CloseCompoundAction.
Show: