public void VsTextViewCreated(IVsTextView textViewAdapter) { IWpfTextView view = this._adaptersFactory.GetWpfTextView(textViewAdapter); CodeCompletionCommandFilter filter = new CodeCompletionCommandFilter(view, this._completionBroker); textViewAdapter.AddCommandFilter(filter, out Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget next); filter.NextCommandHandler = next; }
public void VsTextViewCreated(IVsTextView textViewAdapter) { IWpfTextView view = this._adaptersFactory.GetWpfTextView(textViewAdapter); CodeCompletionCommandFilter filter = new CodeCompletionCommandFilter(view, this._completionBroker); textViewAdapter.AddCommandFilter(filter, out var next); filter.NextCommandHandler = next; }
public void VsTextViewCreated(IVsTextView textViewAdapter) { IWpfTextView view = _adaptersFactory.GetWpfTextView(textViewAdapter); Debug.Assert(view != null); CodeCompletionCommandFilter filter = new CodeCompletionCommandFilter(view, _completionBroker); IOleCommandTarget next; textViewAdapter.AddCommandFilter(filter, out next); filter._nextCommandHandler = next; }