AS3 highlighter - namespaces go to definition

This commit is contained in:
Jindra Petřík
2025-05-30 19:44:56 +02:00
parent 082d618bc2
commit 7853e5b14c
7 changed files with 153 additions and 28 deletions
@@ -1034,6 +1034,14 @@ public class DecompiledEditorPane extends DebuggableEditorPane implements CaretL
public int getClassIndex() {
return classIndex;
}
public int getScriptIndex() {
ScriptPack pack = getScriptLeaf();
if (pack == null) {
return -1;
}
return pack.scriptIndex;
}
private ABC getABC() {
return script == null ? null : script.abc;