2 writes to _manager
Microsoft.VisualStudio.LanguageServices (2)
ProjectSystem\InvisibleEditor.cs (2)
65
Marshal.ThrowExceptionForHR(VsTextLines.GetUndoManager(out
_manager
));
173
_manager
= null;
5 references to _manager
Microsoft.VisualStudio.LanguageServices (5)
ProjectSystem\InvisibleEditor.cs (5)
66
Marshal.ThrowExceptionForHR(((IVsUndoState)
_manager
).IsEnabled(out var isEnabled));
70
_manager
.DiscardFrom(null); // Discard the undo history for this document
71
_manager
.Enable(0); // Disable Undo for this document
170
if (_needsUndoRestored &&
_manager
!= null)
172
_manager
.Enable(1);