public ReplOutputClassifier(ReplOutputClassifierProvider provider, ITextBuffer buffer) { this.provider = provider; this.buffer = buffer; this.buffer.Changed += (_, e) => { if (e.After.Length == 0) { this.buffer.Properties[ColorKey] = new List <ColoredSpan>(); } }; }
public ReplOutputClassifier(ReplOutputClassifierProvider provider, ITextBuffer buffer) { _provider = provider; _buffer = buffer; }