Old GuiScriptTextArea

This commit is contained in:
bigguy345 committed 2025-12-23 00:01:49 +02:00
1 parent 51993c3efc
commit b1799b5a22
2 files changed
+2187 -1

No files matched your search

File diff suppressed because it is too large. Load diff
@@ -121,7 +121,7 @@ public class ScriptTextContainer extends JavaTextContainer {
/**
* Convert new interpreter TokenType to legacy JavaTextContainer.TokenType format.
*/
private JavaTextContainer.TokenType toLegacyTokenType(TokenType type) {
private JavaTextContainer.TokenType toLegacyTokenType(noppes.npcs.client.gui.util.script.interpreter.TokenType type) {
if (type == noppes.npcs.client.gui.util.script.interpreter.TokenType.COMMENT) return JavaTextContainer.TokenType.COMMENT;
if (type == noppes.npcs.client.gui.util.script.interpreter.TokenType.STRING) return JavaTextContainer.TokenType.STRING;
if (type == noppes.npcs.client.gui.util.script.interpreter.TokenType.CLASS_KEYWORD) return JavaTextContainer.TokenType.CLASS_KEYWORD;