1 write to _openTextBufferManager
Microsoft.CodeAnalysis.EditorFeatures (1)
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (1)
666
_openTextBufferManager
= openTextBufferManager;
9 references to _openTextBufferManager
Microsoft.CodeAnalysis.EditorFeatures (9)
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (9)
714
var textView =
_openTextBufferManager
.ActiveTextView;
723
var snapshot =
_openTextBufferManager
._subjectBuffer.CurrentSnapshot;
727
_anchor.HasValue &&
_openTextBufferManager
._referenceSpanToLinkedRenameSpanMap.Keys.Any(s => s.OverlapsWith(anchorSpan))
733
_active.HasValue &&
_openTextBufferManager
._referenceSpanToLinkedRenameSpanMap.Keys.Any(s => s.OverlapsWith(activeSpan))
743
var snapshot =
_openTextBufferManager
._subjectBuffer.CurrentSnapshot;
744
var endPoint =
_openTextBufferManager
._referenceSpanToLinkedRenameSpanMap.TryGetValue(span, out var renameTrackingSpan)
746
:
_openTextBufferManager
._referenceSpanToLinkedRenameSpanMap.First(kvp => kvp.Key.OverlapsWith(span)).Value.TrackingSpan.GetEndPoint(snapshot);
747
return
_openTextBufferManager
.ActiveTextView.BufferGraph.MapUpToBuffer(endPoint, PointTrackingMode.Positive, PositionAffinity.Successor,
_openTextBufferManager
.ActiveTextView.TextBuffer).Value;