mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-02 00:55:14 +00:00
Added: #2485 Show variable name in the text tree node label
This commit is contained in:
@@ -1605,4 +1605,13 @@ public class DefineEditTextTag extends TextTag {
|
||||
txt = txt.replace("'", "'");
|
||||
return txt;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<String, String> getNameProperties() {
|
||||
Map<String, String> ret = super.getNameProperties();
|
||||
if (variableName != null && !variableName.isEmpty()) {
|
||||
ret.put("vn", DottedChain.parseNoSuffix(variableName).toPrintableString(false));
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user