From 23bab2503192acf5d0ed2021afeeae294f5e6897 Mon Sep 17 00:00:00 2001 From: CyberGlitch01 Date: Tue, 12 Sep 2023 07:59:40 +0530 Subject: [PATCH] fix: Ace editor abnormal kotlin mode --- editor/src/main/java/editor/tsd/editors/AceEditor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/src/main/java/editor/tsd/editors/AceEditor.java b/editor/src/main/java/editor/tsd/editors/AceEditor.java index 2f0af36..7df03a0 100644 --- a/editor/src/main/java/editor/tsd/editors/AceEditor.java +++ b/editor/src/main/java/editor/tsd/editors/AceEditor.java @@ -173,7 +173,7 @@ public void setLanguageMode(String LanguageMode) { aceJSInterface.languageMode = "java"; break; case Language.Kt: - aceJSInterface.languageMode = "kt"; + aceJSInterface.languageMode = "kotlin"; break; case Language.XML: aceJSInterface.languageMode = "xml";