示例#1
0
 public TextViewTagAggregator(ITaggerFactory taggerFactory, ITextView textView, TagAggregatorOptions options)
     : base(textView.BufferGraph, textView.TextBuffer, options)
 {
     this.taggerFactory = taggerFactory;
     this.textView      = textView;
     textView.Closed   += TextView_Closed;
     Initialize();
 }
 BufferTagAggregatorFactoryService(ITaggerFactory taggerFactory, IBufferGraphFactoryService bufferGraphFactoryService)
 {
     this.taggerFactory             = taggerFactory;
     this.bufferGraphFactoryService = bufferGraphFactoryService;
 }
 public TextBufferTagAggregator(ITaggerFactory taggerFactory, IBufferGraph bufferGraph, ITextBuffer textBuffer, TagAggregatorOptions options)
     : base(bufferGraph, textBuffer, options)
 {
     this.taggerFactory = taggerFactory;
     Initialize();
 }
示例#4
0
 public virtual void SetupBase()
 {
     _compositionContainer = GetOrCreateCompositionContainer();
     _textBufferFactoryService = _compositionContainer.GetExportedValue<ITextBufferFactoryService>();
     _textEditorFactoryService = _compositionContainer.GetExportedValue<ITextEditorFactoryService>();
     _smartIndentationService = _compositionContainer.GetExportedValue<ISmartIndentationService>();
     _editorOperationsFactoryService = _compositionContainer.GetExportedValue<IEditorOperationsFactoryService>();
     _editorOptionsFactoryService = _compositionContainer.GetExportedValue<IEditorOptionsFactoryService>();
     _textSearchService = _compositionContainer.GetExportedValue<ITextSearchService>();
     _outliningManagerService = _compositionContainer.GetExportedValue<IOutliningManagerService>();
     _textBufferUndoManagerProvider = _compositionContainer.GetExportedValue<ITextBufferUndoManagerProvider>();
     _contentTypeRegistryService = _compositionContainer.GetExportedValue<IContentTypeRegistryService>();
     _adhocOutlinerFactory = _compositionContainer.GetExportedValue<IAdhocOutlinerFactory>();
     _taggerFactory = _compositionContainer.GetExportedValue<ITaggerFactory>();
 }
示例#5
0
 ViewTagAggregatorFactoryService(ITaggerFactory taggerFactory) => this.taggerFactory = taggerFactory;
示例#6
0
 internal CommentTaggerProvider([Import(EditorUtils.Constants.ContractName)] ITaggerFactory taggerFactory)
 {
     _taggerFactory = taggerFactory;
 }
示例#7
0
 BufferTagAggregatorFactoryService(ITaggerFactory taggerFactory)
 {
     this.taggerFactory = taggerFactory;
 }
示例#8
0
 internal CharDisplayTaggerSourceFactory(IVim vim, [EditorUtilsImport] ITaggerFactory taggerFactory, IEditorFormatMapService editorFormatMapService)
 {
     _taggerFactory          = taggerFactory;
     _editorFormatMapService = editorFormatMapService;
     _vim = vim;
 }