The custom identifiers don’t get erased now. Thanks!
However, if I change widgets identified by custom identifiers, e.g. cabbageSet SParNames[ind], "outlineColour", 200, 150, 60, 200
, the changed attribute (like outlineColour
) gets updated on the widget after clicking it. I guess this works similar to updating code by the automatically assigned channel names (e.g. on image
) and there is a general mechanism that updates widgets after clicking.
This may be annoying in some cases, like in my example of the outlineColour
. I might just want to change custom identifiers to do a bunch of widget modifications based on widget groups marked with corresponding identifiers. This would be a nuisance if, in my example, I’d change the identifier and then update only some property other than outlineColour
for that group of widgets, and I’d need to clean up the automatically changed outlineColour
for example. Another reason for not updating the widget code would be readability. Consider also the example of image
channel name, which I might never need. In cases when I need it, I intentionally give them meaningful channel names.
I generally find it annoying when code (csd file content) changes automatically under the hood (without my intention/knowledge). More specifically, this seems to be common place when clicking on widgets in edit mode. I’m wondering if it would be possible or would it make sense to never update the widget related code in the csd file? Again, I just mean the explicit user code (text in csd), not referring to any housekeeping IDE code (like taking care of channel names for example).