From 46c9075c2257fdda2273c9e3913b692fef0e76ea Mon Sep 17 00:00:00 2001 From: tyron12233 Date: Sun, 6 Feb 2022 19:15:09 +0800 Subject: [PATCH] feat: add missing kotlin lexer tokens --- .../tyron/code/ui/editor/language/kotlin/KotlinAnalyzer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/tyron/code/ui/editor/language/kotlin/KotlinAnalyzer.java b/app/src/main/java/com/tyron/code/ui/editor/language/kotlin/KotlinAnalyzer.java index d79c0e607..53a484a82 100644 --- a/app/src/main/java/com/tyron/code/ui/editor/language/kotlin/KotlinAnalyzer.java +++ b/app/src/main/java/com/tyron/code/ui/editor/language/kotlin/KotlinAnalyzer.java @@ -54,7 +54,8 @@ public void setup() { KotlinLexer.LineString, KotlinLexer.MultiLineString, KotlinLexer.StringExpression, KotlinLexer.MultiLineStringQuote, KotlinLexer.LineStrText, KotlinLexer.SINGLE_QUOTE, KotlinLexer.QUOTE_OPEN, - KotlinLexer.QUOTE_CLOSE, KotlinLexer.HexLiteral, KotlinLexer.MultiLineStrText); + KotlinLexer.QUOTE_CLOSE, KotlinLexer.HexLiteral, KotlinLexer.MultiLineStrText, + KotlinLexer.TRIPLE_QUOTE_CLOSE, KotlinLexer.TRIPLE_QUOTE_OPEN); putColor(EditorColorScheme.COMMENT, KotlinLexer.DelimitedComment, KotlinLexer.StrExpr_Comment, KotlinLexer.LineComment, KotlinLexer.Inside_Comment);