1 write to _openTextBufferManager
Microsoft.CodeAnalysis.EditorFeatures (1)
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (1)
660
_openTextBufferManager
= openTextBufferManager;
9 references to _openTextBufferManager
Microsoft.CodeAnalysis.EditorFeatures (9)
InlineRename\InlineRenameSession.OpenTextBufferManager.cs (9)
708
var textView =
_openTextBufferManager
.ActiveTextView;
717
var snapshot =
_openTextBufferManager
._subjectBuffer.CurrentSnapshot;
721
_anchor.HasValue &&
_openTextBufferManager
._referenceSpanToLinkedRenameSpanMap.Keys.Any(s => s.OverlapsWith(anchorSpan))
727
_active.HasValue &&
_openTextBufferManager
._referenceSpanToLinkedRenameSpanMap.Keys.Any(s => s.OverlapsWith(activeSpan))
737
var snapshot =
_openTextBufferManager
._subjectBuffer.CurrentSnapshot;
738
var endPoint =
_openTextBufferManager
._referenceSpanToLinkedRenameSpanMap.TryGetValue(span, out var renameTrackingSpan)
740
:
_openTextBufferManager
._referenceSpanToLinkedRenameSpanMap.First(kvp => kvp.Key.OverlapsWith(span)).Value.TrackingSpan.GetEndPoint(snapshot);
741
return
_openTextBufferManager
.ActiveTextView.BufferGraph.MapUpToBuffer(endPoint, PointTrackingMode.Positive, PositionAffinity.Successor,
_openTextBufferManager
.ActiveTextView.TextBuffer).Value;