Ejemplo n.º 1
0
 public SampleLanguageForVS(IClassificationTypeRegistryService registry, ITextBuffer buffer)
 {
     _registry      = registry;
     _buffer        = buffer;
     _commentType   = registry.GetClassificationType(PredefinedClassificationTypeNames.Comment);
     _outerParenTag = MakeTag(PredefinedClassificationTypeNames.Keyword);
     _parseHelper   = new BackgroundAnalyzerForVS <object, IList <ITagSpan <ITag> > >(buffer, this, true);
 }
Ejemplo n.º 2
0
 public SyntaxAnalyzerForVS(VSBuffer ctx)
     : base(ctx)
 {
     _parseHelper = new BackgroundAnalyzerForVS <SparseAList <EditorToken>, ParseResults>(ctx.Buffer, this, false);
 }