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