static void Commit(TextEditorData data) { data.Document.RequestUpdate(new UpdateAll()); data.Caret.MoveCaretBeforeFoldings(); data.Document.CommitDocumentUpdate(); data.RaiseUpdateAdjustmentsRequested(); }
static void Commit (TextEditorData data) { data.Document.RequestUpdate (new UpdateAll ()); data.Caret.MoveCaretBeforeFoldings (); data.Document.CommitDocumentUpdate (); data.RaiseUpdateAdjustmentsRequested (); }