5 writes to currentState
Microsoft.CodeAnalysis.EditorFeatures (5)
InlineRename\AbstractInlineRenameUndoManager.cs (5)
84
this.
currentState
= new ActiveSpanState()
99
this.
currentState
= null;
110
this.
currentState
= new ActiveSpanState()
153
this.
currentState
= this.UndoStack.Pop();
167
this.
currentState
= this.RedoStack.Pop();
12 references to currentState
Microsoft.CodeAnalysis.EditorFeatures (11)
InlineRename\AbstractInlineRenameUndoManager.cs (10)
79
if (
currentState
.ReplacementText != _trackedSession.ReplacementText)
87
SelectionAnchorPoint =
currentState
.SelectionAnchorPoint,
88
SelectionActivePoint =
currentState
.SelectionActivePoint
121
this.initialState = this.
currentState
;
143
var anchor = new VirtualSnapshotPoint(snapshot, this.
currentState
.SelectionAnchorPoint + activeRenameSpan.GetStartPoint(snapshot));
144
var active = new VirtualSnapshotPoint(snapshot, this.
currentState
.SelectionActivePoint + activeRenameSpan.GetStartPoint(snapshot));
152
this.RedoStack.Push(this.
currentState
);
154
this.InlineRenameService.ActiveSession.ApplyReplacementText(this.
currentState
.ReplacementText, propagateEditImmediately: true);
166
this.UndoStack.Push(this.
currentState
);
168
this.InlineRenameService.ActiveSession.ApplyReplacementText(this.
currentState
.ReplacementText, propagateEditImmediately: true);
InlineRename\UndoManagerServiceFactory.cs (1)
123
ApplyReplacementText(subjectBuffer, this.UndoManagers[subjectBuffer].TextUndoHistory, propagateSpansEditTag, spans, this.
currentState
.ReplacementText);
Microsoft.VisualStudio.LanguageServices (1)
InlineRename\InlineRenameUndoManager.cs (1)
196
ApplyReplacementText(subjectBuffer, bufferUndoState.TextUndoHistory, propagateSpansEditTag, spans, this.
currentState
.ReplacementText);