From bc4fb483ff44cdf03a7cf81f08a3371b19880e3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Mon, 8 Feb 2021 19:57:45 +0100 Subject: [PATCH] Correctly show docs for aliased instructions --- .../jpexs/decompiler/flash/gui/abc/ASMSourceEditorPane.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/com/jpexs/decompiler/flash/gui/abc/ASMSourceEditorPane.java b/src/com/jpexs/decompiler/flash/gui/abc/ASMSourceEditorPane.java index 6a59d2f19..e79d282e9 100644 --- a/src/com/jpexs/decompiler/flash/gui/abc/ASMSourceEditorPane.java +++ b/src/com/jpexs/decompiler/flash/gui/abc/ASMSourceEditorPane.java @@ -546,7 +546,6 @@ public class ASMSourceEditorPane extends DebuggableEditorPane implements CaretLi aboutToBreak = true; } - if (type != TYPE_IGNORED) { if (!levels.isEmpty()) { if (types.peek() == TYPE_PARAMETER) { @@ -612,6 +611,9 @@ public class ASMSourceEditorPane extends DebuggableEditorPane implements CaretLi curLine = curLine.substring(0, curLine.indexOf(';')); } String insName = curLine.toLowerCase(); + if (AVM2Code.instructionAliases.containsKey(insName)) { + insName = AVM2Code.instructionAliases.get(insName); + } Point loc = getLineLocation(getLine() + 1); if (loc != null) { SwingUtilities.convertPointToScreen(loc, this);