Ejemplo n.º 1
0
 protected Classifier(IStandardClassificationRegistry standardClassificationRegistry, HashSet <string> keywords, ITextBuffer buffer)
 {
     _standardClassificationRegistry = standardClassificationRegistry;
     _keywords = keywords;
     _partitionTokenTypeCache = new PartitionTokenTypeCache(this);
     buffer.Changed          += OnBufferChanged;
 }
Ejemplo n.º 2
0
 protected Classifier(IStandardClassificationRegistry standardClassificationRegistry, HashSet<string> keywords, ITextBuffer buffer)
 {
     _standardClassificationRegistry = standardClassificationRegistry;
     _keywords = keywords;
     _partitionTokenTypeCache = new PartitionTokenTypeCache(this);
     buffer.Changed += OnBufferChanged;
 }