mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-03 14:45:28 +00:00
Issue #775 AS3 direct edit - InstanceInfo name index fix
This commit is contained in:
@@ -674,7 +674,11 @@ public class DecompiledEditorPane extends LineMarkedEditorPane implements CaretL
|
||||
setText(hilightedCode);
|
||||
|
||||
if (classHighlights.size() > 0) {
|
||||
setCaretPosition(classHighlights.get(0).startPos);
|
||||
try {
|
||||
setCaretPosition(classHighlights.get(0).startPos);
|
||||
} catch (Exception ex) { //sometimes happens
|
||||
//ignore
|
||||
}
|
||||
}
|
||||
}
|
||||
fireScript();
|
||||
|
||||
Reference in New Issue
Block a user