mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-05 12:04:22 +00:00
Fixed Slot/const trait proper p-code indentation
This commit is contained in:
@@ -101,6 +101,9 @@ public class SlotConstTraitDetailPanel extends JPanel implements TraitDetail {
|
||||
this.trait = trait;
|
||||
HighlightedTextWriter writer = new HighlightedTextWriter(Configuration.getCodeFormatting(), true);
|
||||
trait.convertTraitHeader(abc, writer);
|
||||
if (Configuration.indentAs3PCode.get()) {
|
||||
writer.unindent();
|
||||
}
|
||||
writer.appendNoHilight("end ; trait");
|
||||
String s = writer.toString();
|
||||
specialHilights = writer.specialHilights;
|
||||
|
||||
Reference in New Issue
Block a user