Esempio n. 1
0
 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>();
         }
     };
 }
Esempio n. 2
0
 public ReplOutputClassifier(ReplOutputClassifierProvider provider, ITextBuffer buffer)
 {
     _provider = provider;
     _buffer   = buffer;
 }