2 writes to _manager
Microsoft.VisualStudio.LanguageServices (2)
ProjectSystem\InvisibleEditor.cs (2)
68Marshal.ThrowExceptionForHR(_vsTextLines.GetUndoManager(out _manager)); 147_manager = null;
5 references to _manager
Microsoft.VisualStudio.LanguageServices (5)
ProjectSystem\InvisibleEditor.cs (5)
69Marshal.ThrowExceptionForHR(((IVsUndoState)_manager).IsEnabled(out var isEnabled)); 73_manager.DiscardFrom(null); // Discard the undo history for this document 74_manager.Enable(0); // Disable Undo for this document 144if (_needsUndoRestored && _manager != null) 146_manager.Enable(1);