C# Class Microsoft.R.Editor.Commands.RTextViewConnectionListener

Inheritance: Microsoft.Languages.Editor.Controller.TextViewConnectionListener
Show file Open project: Microsoft/RTVS

Protected Methods

Method Description
OnTextBufferDisposing ( ITextBuffer textBuffer ) : void
OnTextViewConnected ( ITextView textView, ITextBuffer textBuffer ) : void
OnTextViewDisconnected ( ITextView textView, ITextBuffer textBuffer ) : void

Private Methods

Method Description
OnContainedLanguageHostClosing ( object sender, EventArgs eventArgs ) : void

When CSS is contained within HTML, the host's Closing event will come in before the OnTextBufferDisposing event. Waiting for OnTextBufferDisposing would be too late, all services would already be removed from the CSS buffer.

Method Details

OnTextBufferDisposing() protected method

protected OnTextBufferDisposing ( ITextBuffer textBuffer ) : void
textBuffer ITextBuffer
return void

OnTextViewConnected() protected method

protected OnTextViewConnected ( ITextView textView, ITextBuffer textBuffer ) : void
textView ITextView
textBuffer ITextBuffer
return void

OnTextViewDisconnected() protected method

protected OnTextViewDisconnected ( ITextView textView, ITextBuffer textBuffer ) : void
textView ITextView
textBuffer ITextBuffer
return void