From 15b333e10281fcb3d136b57d80597233154d1742 Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Mon, 26 Jan 2015 16:06:56 -0800 Subject: [PATCH] Added comment for 'syntacticClassifierAbsent'. --- src/services/services.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/services/services.ts b/src/services/services.ts index 90227eeb1f..39eab2f7e1 100644 --- a/src/services/services.ts +++ b/src/services/services.ts @@ -5658,6 +5658,8 @@ module ts { return true; } + // If there is a syntactic classifier ('syntacticClassifierAbsent' is false), + // we will be more conservative in order to avoid conflicting with the syntactic classifier. function getClassificationsForLine(text: string, lexState: EndOfLineState, syntacticClassifierAbsent?: boolean): ClassificationResult { var offset = 0; var token = SyntaxKind.Unknown;