1 write to Buffer
Microsoft.CodeAnalysis.EditorFeatures (1)
RenameTracking\RenameTrackingTaggerProvider.StateMachine.cs (1)
66Buffer = buffer;
18 references to Buffer
Microsoft.CodeAnalysis.EditorFeatures (18)
RenameTracking\RenameTrackingTaggerProvider.RenameTrackingCodeAction.cs (1)
104var snapshotSpan = stateMachine.TrackingSession.TrackingSpan.GetSpan(stateMachine.Buffer.CurrentSnapshot);
RenameTracking\RenameTrackingTaggerProvider.RenameTrackingCommitter.cs (6)
230var undoHistory = _undoHistoryRegistry.RegisterHistory(_stateMachine.Buffer); 233var undoPrimitiveBefore = new UndoPrimitive(_stateMachine.Buffer, trackingSessionId, shouldRestoreStateOnUndo: true); 243var undoPrimitiveAfter = new UndoPrimitive(_stateMachine.Buffer, trackingSessionId, shouldRestoreStateOnUndo: false); 268var undoHistory = _undoHistoryRegistry.RegisterHistory(_stateMachine.Buffer); 273var undoPrimitiveBefore = new UndoPrimitive(_stateMachine.Buffer, trackingSessionId, shouldRestoreStateOnUndo: false); 292var undoPrimitiveAfter = new UndoPrimitive(_stateMachine.Buffer, trackingSessionId, shouldRestoreStateOnUndo: false);
RenameTracking\RenameTrackingTaggerProvider.StateMachine.cs (9)
67Buffer.Changed += Buffer_Changed; 134this.TrackingSession.CheckNewIdentifier(this, Buffer.CurrentSnapshot); 234var document = Buffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges(); 301if (Buffer.AsTextContainer().CurrentText == text && 304var snapshotSpan = trackingSession.TrackingSpan.GetSpan(Buffer.CurrentSnapshot); 351var document = Buffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges(); 365var document = Buffer.CurrentSnapshot.GetOpenDocumentInCurrentContextWithChanges(); 388this.Buffer.Properties.RemoveProperty(typeof(StateMachine)); 389this.Buffer.Changed -= Buffer_Changed;
RenameTracking\RenameTrackingTaggerProvider.Tagger.cs (2)
32=> TagsChanged(this, new SnapshotSpanEventArgs(trackingSpanToClear.GetSpan(_stateMachine.Buffer.CurrentSnapshot))); 38TagsChanged(this, new SnapshotSpanEventArgs(_stateMachine.TrackingSession.TrackingSpan.GetSpan(_stateMachine.Buffer.CurrentSnapshot)));