Added: #2485 Show variable name in the text tree node label

This commit is contained in:
Jindra Petřík
2025-07-12 19:12:50 +02:00
parent 4d5cf0f676
commit c22de7b6fe
6 changed files with 27 additions and 10 deletions

View File

@@ -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;
}
}