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