Ejemplo n.º 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;
 }
Ejemplo n.º 3
0
 public TextBufferTagAggregator(ITaggerFactory taggerFactory, IBufferGraph bufferGraph, ITextBuffer textBuffer, TagAggregatorOptions options)
     : base(bufferGraph, textBuffer, options)
 {
     this.taggerFactory = taggerFactory;
     Initialize();
 }
Ejemplo n.º 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>();
 }
Ejemplo n.º 5
0
 ViewTagAggregatorFactoryService(ITaggerFactory taggerFactory) => this.taggerFactory = taggerFactory;
Ejemplo n.º 6
0
 internal CommentTaggerProvider([Import(EditorUtils.Constants.ContractName)] ITaggerFactory taggerFactory)
 {
     _taggerFactory = taggerFactory;
 }
Ejemplo n.º 7
0
 BufferTagAggregatorFactoryService(ITaggerFactory taggerFactory)
 {
     this.taggerFactory = taggerFactory;
 }
Ejemplo n.º 8
0
 internal CharDisplayTaggerSourceFactory(IVim vim, [EditorUtilsImport] ITaggerFactory taggerFactory, IEditorFormatMapService editorFormatMapService)
 {
     _taggerFactory          = taggerFactory;
     _editorFormatMapService = editorFormatMapService;
     _vim = vim;
 }