public Tagger(ICodeDocument document) : base("Custom", new Ordering[] { new Ordering(TaggerKeys.Token, OrderPlacement.Before) }, document) { // Get a token tag aggregator tokenTagAggregator = document.CreateTagAggregator <ITokenTag>(); tokens.Add("Osc"); tokens.Add("Log"); tokens.Add("Client"); }
/// <summary> /// Initializes a new instance of the <c>CustomClassificationTagger</c> class. /// </summary> /// <param name="document">The document to which this manager is attached.</param> public CustomClassificationTagger(ICodeDocument document) : base("Custom", new Ordering[] { new Ordering(TaggerKeys.Token, OrderPlacement.Before) }, document) { // Get a token tag aggregator tokenTagAggregator = document.CreateTagAggregator <ITokenTag>(); }