mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 14:01:11 +00:00
#1594 Option to disable AS3 P-code indentation, label on separate line
This commit is contained in:
@@ -124,7 +124,10 @@ public class ASMSourceEditorPane extends DebuggableEditorPane implements CaretLi
|
||||
MethodBody body = abc.bodies.get(bodyIndex);
|
||||
abc.bodies.get(bodyIndex).getCode().toASMSource(abc, abc.constants, abc.method_info.get(body.method_info), body, exportMode, writer);
|
||||
if (trait != null && exportMode != ScriptExportMode.AS && exportMode != ScriptExportMode.AS_METHOD_STUBS) {
|
||||
writer.unindent().appendNoHilight("end ; trait").newLine();
|
||||
if (Configuration.indentAs3PCode.get()) {
|
||||
writer.unindent();
|
||||
}
|
||||
writer.appendNoHilight("end ; trait").newLine();
|
||||
}
|
||||
return new HighlightedText(writer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user