mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 13:50:46 +00:00
Correctly show docs for aliased instructions
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user