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)
714var textView = _openTextBufferManager.ActiveTextView; 723var 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)) 743var snapshot = _openTextBufferManager._subjectBuffer.CurrentSnapshot; 744var endPoint = _openTextBufferManager._referenceSpanToLinkedRenameSpanMap.TryGetValue(span, out var renameTrackingSpan) 746: _openTextBufferManager._referenceSpanToLinkedRenameSpanMap.First(kvp => kvp.Key.OverlapsWith(span)).Value.TrackingSpan.GetEndPoint(snapshot); 747return _openTextBufferManager.ActiveTextView.BufferGraph.MapUpToBuffer(endPoint, PointTrackingMode.Positive, PositionAffinity.Successor, _openTextBufferManager.ActiveTextView.TextBuffer).Value;