private void AttachToSession(InlineRenameSession session) { if (session.TryGetBufferManager(_buffer, out _bufferManager)) { _bufferManager.SpansChanged += OnSpansChanged; OnSpansChanged(); } }
private void AttachToSession(InlineRenameSession session) { if (session.TryGetBufferManager(_buffer, out _bufferManager)) { _bufferManager.SpansChanged += OnSpansChanged; OnSpansChanged(); } }