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