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