Added DataScript global definitions i.e. npc, world, event to syntax highlighter as global vars

This commit is contained in:
bigguy345 committed 2026-01-26 03:49:38 +02:00
1 parent df0d46e63d
commit aae2fdb23a
5 files changed
+155 -24

No files matched your search

@@ -2652,6 +2652,10 @@ public class GuiScriptTextArea extends GuiNpcTextField {
return this.container != null ? this.container.getScriptContext() : ScriptContext.GLOBAL;
}
public ScriptTextContainer getContainer() {
return this.container;
}
/**
* Add implicit imports that should be resolved without explicit import statements.
* Used for JaninoScript default imports and hook parameter types.