5 writes to currentState
Microsoft.CodeAnalysis.EditorFeatures (5)
InlineRename\AbstractInlineRenameUndoManager.cs (5)
84this.currentState = new ActiveSpanState() 99this.currentState = null; 110this.currentState = new ActiveSpanState() 153this.currentState = this.UndoStack.Pop(); 167this.currentState = this.RedoStack.Pop();
12 references to currentState
Microsoft.CodeAnalysis.EditorFeatures (11)
InlineRename\AbstractInlineRenameUndoManager.cs (10)
79if (currentState.ReplacementText != _trackedSession.ReplacementText) 87SelectionAnchorPoint = currentState.SelectionAnchorPoint, 88SelectionActivePoint = currentState.SelectionActivePoint 121this.initialState = this.currentState; 143var anchor = new VirtualSnapshotPoint(snapshot, this.currentState.SelectionAnchorPoint + activeRenameSpan.GetStartPoint(snapshot)); 144var active = new VirtualSnapshotPoint(snapshot, this.currentState.SelectionActivePoint + activeRenameSpan.GetStartPoint(snapshot)); 152this.RedoStack.Push(this.currentState); 154this.InlineRenameService.ActiveSession.ApplyReplacementText(this.currentState.ReplacementText, propagateEditImmediately: true); 166this.UndoStack.Push(this.currentState); 168this.InlineRenameService.ActiveSession.ApplyReplacementText(this.currentState.ReplacementText, propagateEditImmediately: true);
InlineRename\UndoManagerServiceFactory.cs (1)
123ApplyReplacementText(subjectBuffer, this.UndoManagers[subjectBuffer].TextUndoHistory, propagateSpansEditTag, spans, this.currentState.ReplacementText);
Microsoft.VisualStudio.LanguageServices (1)
InlineRename\InlineRenameUndoManager.cs (1)
196ApplyReplacementText(subjectBuffer, bufferUndoState.TextUndoHistory, propagateSpansEditTag, spans, this.currentState.ReplacementText);