5 writes to currentState
Microsoft.CodeAnalysis.EditorFeatures (5)
InlineRename\AbstractInlineRenameUndoManager.cs (5)
68
this.
currentState
= new ActiveSpanState()
83
this.
currentState
= null;
94
this.
currentState
= new ActiveSpanState()
137
this.
currentState
= this.UndoStack.Pop();
151
this.
currentState
= this.RedoStack.Pop();
11 references to currentState
Microsoft.CodeAnalysis.EditorFeatures (11)
InlineRename\AbstractInlineRenameUndoManager.cs (10)
63
if (
currentState
.ReplacementText != _trackedSession.ReplacementText)
71
SelectionAnchorPoint =
currentState
.SelectionAnchorPoint,
72
SelectionActivePoint =
currentState
.SelectionActivePoint
105
this.initialState = this.
currentState
;
127
var anchor = new VirtualSnapshotPoint(snapshot, this.
currentState
.SelectionAnchorPoint + activeRenameSpan.GetStartPoint(snapshot));
128
var active = new VirtualSnapshotPoint(snapshot, this.
currentState
.SelectionActivePoint + activeRenameSpan.GetStartPoint(snapshot));
136
this.RedoStack.Push(this.
currentState
);
138
this.InlineRenameService.ActiveSession.ApplyReplacementText(this.
currentState
.ReplacementText, propagateEditImmediately: true);
150
this.UndoStack.Push(this.
currentState
);
152
this.InlineRenameService.ActiveSession.ApplyReplacementText(this.
currentState
.ReplacementText, propagateEditImmediately: true);
InlineRename\UndoManagerServiceFactory.cs (1)
110
ApplyReplacementText(subjectBuffer, this.UndoManagers[subjectBuffer].TextUndoHistory, propagateSpansEditTag, spans, this.
currentState
.ReplacementText);