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