mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 01:51:10 +00:00
highlights: new lines removed from hilight call, some not highlighted strings are highlighted
This commit is contained in:
@@ -52,7 +52,7 @@ public class InitObjectActionItem extends ActionItem {
|
||||
}
|
||||
String valueStr = values.get(i).toString(highlight, constants);
|
||||
if (values.get(i) instanceof TernarOpItem) { //Ternar operator contains ":"
|
||||
valueStr = "(" + valueStr + ")";
|
||||
valueStr = hilight("(", highlight) + valueStr + hilight(")", highlight);
|
||||
}
|
||||
objStr += names.get(i).toStringNoQuotes(highlight, constants) + hilight(":", highlight) + valueStr; //AS1/2 do not allow quotes in name here
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user