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)
708var textView = _openTextBufferManager.ActiveTextView; 717var 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)) 737var snapshot = _openTextBufferManager._subjectBuffer.CurrentSnapshot; 738var endPoint = _openTextBufferManager._referenceSpanToLinkedRenameSpanMap.TryGetValue(span, out var renameTrackingSpan) 740: _openTextBufferManager._referenceSpanToLinkedRenameSpanMap.First(kvp => kvp.Key.OverlapsWith(span)).Value.TrackingSpan.GetEndPoint(snapshot); 741return _openTextBufferManager.ActiveTextView.BufferGraph.MapUpToBuffer(endPoint, PointTrackingMode.Positive, PositionAffinity.Successor, _openTextBufferManager.ActiveTextView.TextBuffer).Value;