protected override Task<ITextBuffer> GetBufferContainingCaretAsync(IWpfTextView view) { return Task.FromResult(view.GetBufferContainingCaret()); }
protected override ITextBuffer GetBufferContainingCaret(IWpfTextView view) { return(view.GetBufferContainingCaret()); }
protected virtual ITextBuffer GetSubjectBufferContainingCaret() { return(_wpfTextView.GetBufferContainingCaret()); }