5 writes to currentState
Microsoft.CodeAnalysis.EditorFeatures (5)
InlineRename\AbstractInlineRenameUndoManager.cs (5)
70
this.
currentState
= new ActiveSpanState()
85
this.
currentState
= null;
96
this.
currentState
= new ActiveSpanState()
139
this.
currentState
= this.UndoStack.Pop();
153
this.
currentState
= this.RedoStack.Pop();
10 references to currentState
Microsoft.CodeAnalysis.EditorFeatures (10)
InlineRename\AbstractInlineRenameUndoManager.cs (10)
65
if (
currentState
.ReplacementText != _trackedSession.ReplacementText)
73
SelectionAnchorPoint =
currentState
.SelectionAnchorPoint,
74
SelectionActivePoint =
currentState
.SelectionActivePoint
107
this.initialState = this.
currentState
;
129
var anchor = new VirtualSnapshotPoint(snapshot, this.
currentState
.SelectionAnchorPoint + activeRenameSpan.GetStartPoint(snapshot));
130
var active = new VirtualSnapshotPoint(snapshot, this.
currentState
.SelectionActivePoint + activeRenameSpan.GetStartPoint(snapshot));
138
this.RedoStack.Push(this.
currentState
);
140
this.InlineRenameService.ActiveSession.ApplyReplacementText(this.
currentState
.ReplacementText, propagateEditImmediately: true);
152
this.UndoStack.Push(this.
currentState
);
154
this.InlineRenameService.ActiveSession.ApplyReplacementText(this.
currentState
.ReplacementText, propagateEditImmediately: true);