protected ProducerPopulatedTagSource( ITextBuffer subjectBuffer, ITagProducer <TTag> tagProducer, ITaggerEventSource eventSource, IAsynchronousOperationListener asyncListener, IForegroundNotificationService notificationService, bool removeTagsThatIntersectEdits, SpanTrackingMode spanTrackingMode, Func <ITextBuffer, ProducerPopulatedTagSource <TTag> > bufferToRelatedTagSource = null) : base(subjectBuffer, notificationService, asyncListener) { if (spanTrackingMode == SpanTrackingMode.Custom) { throw new ArgumentException("SpanTrackingMode.Custom not allowed.", "spanTrackingMode"); } _tagProducer = tagProducer; _removeTagsThatIntersectEdits = removeTagsThatIntersectEdits; _spanTrackingMode = spanTrackingMode; _cachedTags = ImmutableDictionary.Create <ITextBuffer, TagSpanIntervalTree <TTag> >(); _eventSource = eventSource; _bufferToRelatedTagSource = bufferToRelatedTagSource; _accumulatedTextChanges = null; AttachEventHandlersAndStart(); }
public ViewTagSource( ITextView textView, ITextBuffer subjectBuffer, ITagProducer <TTag> tagProducer, ITaggerEventSource eventSource, IAsynchronousOperationListener asyncListener, IForegroundNotificationService notificationService, bool removeTagsThatIntersectEdits) : base(subjectBuffer, tagProducer, eventSource, asyncListener, notificationService, removeTagsThatIntersectEdits, null) { _textView = textView; }
public SemanticBufferTagSource( ITextBuffer subjectBuffer, ITagProducer <TTag> tagProducer, ITaggerEventSource eventSource, IAsynchronousOperationListener asyncListener, IForegroundNotificationService notificationService, bool removeTagsThatIntersectEdits, Func <ITextBuffer, ProducerPopulatedTagSource <TTag> > bufferToRelatedTagSource) : base(subjectBuffer, tagProducer, eventSource, asyncListener, notificationService, removeTagsThatIntersectEdits, bufferToRelatedTagSource) { _lastSemanticVersion = VersionStamp.Default; }
public BufferTagSource( ITextBuffer subjectBuffer, ITagProducer <TTag> tagProducer, ITaggerEventSource eventSource, IAsynchronousOperationListener asyncListener, IForegroundNotificationService notificationService, bool removeTagsThatIntersectEdits, SpanTrackingMode spanTrackingMode, Func <ITextBuffer, ProducerPopulatedTagSource <TTag> > bufferToRelatedTagSource) : base(subjectBuffer, tagProducer, eventSource, asyncListener, notificationService, removeTagsThatIntersectEdits, spanTrackingMode, bufferToRelatedTagSource) { }
public HighlightingTagSource( ITextView textView, ITextBuffer subjectBuffer, ITagProducer <HighlightTag> tagProducer, ITaggerEventSource eventSource, IAsynchronousOperationListener asyncListener, IForegroundNotificationService notificationService, bool removeTagsThatIntersectEdits, SpanTrackingMode spanTrackingMode) : base(textView, subjectBuffer, tagProducer, eventSource, asyncListener, notificationService, removeTagsThatIntersectEdits, spanTrackingMode) { }
public SemanticBufferTagSource( ITextBuffer subjectBuffer, ITagProducer <TTag> tagProducer, ITaggerEventSource eventSource, IAsynchronousOperationListener asyncListener, IForegroundNotificationService notificationService, bool removeTagsThatIntersectEdits, SpanTrackingMode spanTrackingMode) : base(subjectBuffer, tagProducer, eventSource, asyncListener, notificationService, removeTagsThatIntersectEdits, spanTrackingMode) { _lastSemanticVersion = VersionStamp.Default; }
public ReferenceHighlightingTagSource( ITextView textView, ITextBuffer subjectBuffer, ITagProducer <AbstractNavigatableReferenceHighlightingTag> tagProducer, ITaggerEventSource eventSource, IAsynchronousOperationListener asyncListener, IForegroundNotificationService notificationService, bool removeTagsThatIntersectEdits, SpanTrackingMode spanTrackingMode) : base(subjectBuffer, tagProducer, eventSource, asyncListener, notificationService, removeTagsThatIntersectEdits, spanTrackingMode, bufferToRelatedTagSource: null) { _textView = textView; }
protected ProducerPopulatedTagSource( ITextBuffer subjectBuffer, ITagProducer <TTag> tagProducer, ITaggerEventSource eventSource, IAsynchronousOperationListener asyncListener, IForegroundNotificationService notificationService, bool removeTagsThatIntersectEdits, Func <ITextBuffer, ProducerPopulatedTagSource <TTag> > bufferToRelatedTagSource = null) : base(subjectBuffer, notificationService, asyncListener) { _tagProducer = tagProducer; _removeTagsThatIntersectEdits = removeTagsThatIntersectEdits; _cachedTags = ImmutableDictionary.Create <ITextBuffer, TagSpanIntervalTree <TTag> >(); _eventSource = eventSource; _bufferToRelatedTagSource = bufferToRelatedTagSource; _accumulatedTextChanges = null; AttachEventHandlersAndStart(); }