public CommandFilter( IVsTextView textView, IWpfTextView wpfTextView, IHtmlBuilderService htmlBuilderService, IRtfBuilderService rtfBuilderService, IEditorOperations editorOperations, ITextUndoHistory undoHistory, IEditorOptions editorOptions, IViewPrimitives viewPrimitives, ITelemetrySession telemetrySession) { _htmlBuilderService = htmlBuilderService; _rtfBuilderService = rtfBuilderService; _undoHistory = undoHistory; _textView = wpfTextView; _editorOperations = editorOperations; _editorOptions = editorOptions; _viewPrimitives = viewPrimitives; _telemetrySession = telemetrySession; textView.AddCommandFilter(this, out _nextCommandTargetInChain); }
public CommandFilter( IVsTextView textView, IWpfTextView wpfTextView, IHtmlBuilderService htmlBuilderService, IRtfBuilderService rtfBuilderService, IEditorOperations editorOperations, ITextUndoHistory undoHistory, IEditorOptions editorOptions, IViewPrimitives viewPrimitives, ITelemetrySession telemetrySession) { _htmlBuilderService = htmlBuilderService; _rtfBuilderService = rtfBuilderService; _undoHistory = undoHistory; _textView = wpfTextView; _editorOperations = editorOperations; _editorOptions = editorOptions; _viewPrimitives = viewPrimitives; _telemetrySession = telemetrySession; textView.AddCommandFilter(this, out _nextCommandTargetInChain); }
EditorOperationsFactoryService(ITextStructureNavigatorSelectorService textStructureNavigatorSelectorService, ISmartIndentationService smartIndentationService, IHtmlBuilderService htmlBuilderService) { this.textStructureNavigatorSelectorService = textStructureNavigatorSelectorService; this.smartIndentationService = smartIndentationService; this.htmlBuilderService = htmlBuilderService; }
EditorOperationsFactoryService(ITextStructureNavigatorSelectorService textStructureNavigatorSelectorService, ISmartIndentationService smartIndentationService, IHtmlBuilderService htmlBuilderService) { this.textStructureNavigatorSelectorService = textStructureNavigatorSelectorService; this.smartIndentationService = smartIndentationService; this.htmlBuilderService = htmlBuilderService; }
public EditorOperations(ITextView textView, ITextStructureNavigatorSelectorService textStructureNavigatorSelectorService, ISmartIndentationService smartIndentationService, IHtmlBuilderService htmlBuilderService) { if (textView == null) throw new ArgumentNullException(nameof(textView)); if (textStructureNavigatorSelectorService == null) throw new ArgumentNullException(nameof(textStructureNavigatorSelectorService)); if (htmlBuilderService == null) throw new ArgumentNullException(nameof(htmlBuilderService)); TextView = textView; TextView.Closed += TextView_Closed; TextView.TextViewModel.DataModel.ContentTypeChanged += OnContentTypeChanged; this.textStructureNavigatorSelectorService = textStructureNavigatorSelectorService; this.smartIndentationService = smartIndentationService; this.htmlBuilderService = htmlBuilderService; }