2 writes to _manager
Microsoft.VisualStudio.LanguageServices (2)
ProjectSystem\InvisibleEditor.cs (2)
68
Marshal.ThrowExceptionForHR(_vsTextLines.GetUndoManager(out
_manager
));
147
_manager
= null;
5 references to _manager
Microsoft.VisualStudio.LanguageServices (5)
ProjectSystem\InvisibleEditor.cs (5)
69
Marshal.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
144
if (_needsUndoRestored &&
_manager
!= null)
146
_manager
.Enable(1);