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