public void VsTextViewCreated(IVsTextView textViewAdapter) { _textView = _editorFactory.GetWpfTextView(textViewAdapter); if (_textView == null) return; var generalOptions = Setting.getGeneralOptions(_serviceProvider); if (generalOptions == null || !generalOptions.TaskListCommentsEnabled) return; _taskCommentFilter = new TaskListCommentFilter(_textView, _serviceProvider, _taskListManager, _openDocumentTracker); }
public void VsTextViewCreated(IVsTextView textViewAdapter) { textView = editorFactory.GetWpfTextView(textViewAdapter); if (textView == null) return; var generalOptions = Setting.getGeneralOptions(serviceProvider); if (generalOptions == null || !generalOptions.TaskListCommentsEnabled) return; taskCommentFilter = new TaskListCommentFilter(textView, serviceProvider, taskListManager); }
public void VsTextViewCreated(IVsTextView textViewAdapter) { _textView = _editorFactory.GetWpfTextView(textViewAdapter); if (_textView == null) { return; } var generalOptions = Setting.getGeneralOptions(_serviceProvider); if (generalOptions == null || !generalOptions.TaskListCommentsEnabled) { return; } _taskCommentFilter = new TaskListCommentFilter(_textView, _serviceProvider, _taskListManager, _openDocumentTracker); }
public void VsTextViewCreated(IVsTextView textViewAdapter) { textView = editorFactory.GetWpfTextView(textViewAdapter); if (textView == null) { return; } var generalOptions = Setting.getGeneralOptions(serviceProvider); if (generalOptions == null || !generalOptions.TaskListCommentsEnabled) { return; } taskCommentFilter = new TaskListCommentFilter(textView, serviceProvider, taskListManager); }
public void VsTextViewCreated(IVsTextView textViewAdapter) { textView = editorFactory.GetWpfTextView(textViewAdapter); if (textView == null) { return; } var generalOptions = Utils.GetGeneralOptionsPage(serviceProvider); if (!generalOptions.TaskListCommentsEnabled) { return; } taskCommentFilter = new TaskListCommentFilter(textView, serviceProvider, openDocsTracker); textView.Closed += OnViewClosed; }