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