5 writes to currentState
Microsoft.CodeAnalysis.EditorFeatures (5)
InlineRename\AbstractInlineRenameUndoManager.cs (5)
83
this.
currentState
= new ActiveSpanState()
98
this.
currentState
= null;
109
this.
currentState
= new ActiveSpanState()
152
this.
currentState
= this.UndoStack.Pop();
166
this.
currentState
= this.RedoStack.Pop();
10 references to currentState
Microsoft.CodeAnalysis.EditorFeatures (10)
InlineRename\AbstractInlineRenameUndoManager.cs (10)
78
if (
currentState
.ReplacementText != _trackedSession.ReplacementText)
86
SelectionAnchorPoint =
currentState
.SelectionAnchorPoint,
87
SelectionActivePoint =
currentState
.SelectionActivePoint
120
this.initialState = this.
currentState
;
142
var anchor = new VirtualSnapshotPoint(snapshot, this.
currentState
.SelectionAnchorPoint + activeRenameSpan.GetStartPoint(snapshot));
143
var active = new VirtualSnapshotPoint(snapshot, this.
currentState
.SelectionActivePoint + activeRenameSpan.GetStartPoint(snapshot));
151
this.RedoStack.Push(this.
currentState
);
153
this.InlineRenameService.ActiveSession.ApplyReplacementText(this.
currentState
.ReplacementText, propagateEditImmediately: true);
165
this.UndoStack.Push(this.
currentState
);
167
this.InlineRenameService.ActiveSession.ApplyReplacementText(this.
currentState
.ReplacementText, propagateEditImmediately: true);