ITagger <T> IViewTaggerProvider.CreateTagger <T>(ITextView textView, ITextBuffer textBuffer) { if (textView.TextBuffer != textBuffer || !_vim.ShouldCreateVimBuffer(textView)) { return(null); } return(EditorUtilsFactory.CreateTagger( textView.Properties, _key, () => CreateCharDisplayTaggerSource(textView)) as ITagger <T>); }
ITagger <T> IViewTaggerProvider.CreateTagger <T>(ITextView textView, ITextBuffer textBuffer) { if (textView.TextBuffer != textBuffer || !_vim.ShouldCreateVimBuffer(textView)) { return(null); } Func <IBasicTaggerSource <IntraTextAdornmentTag> > func = () => CreateCharDisplayTaggerSource(textView); return(TaggerUtil.CreateBasicTagger( textView.Properties, _key, func.ToFSharpFunc()) as ITagger <T>); }