This thread seems like a good place to remind folks about a new option in Panorama X 10.1 that you may have missed. You can now have code that handles multiple Text Editor trigger events, so for example you can have one set of custom code that runs when you start editing, and another when you finish editing. This wasn’t possible before.
If your code includes these labels (
startEditing: etc.), it is not necessary to check the Procedure Trigger enable options in the property panel. You can leave these unchecked, but Panorama will still trigger the code if the label is there (it will also trigger the code if these options are checked, basically the labels override the checkboxes).
One other tip – you don’t actually have to give the object a name for this application (it won’t hurt anything if you do, but it’s not necessary). Instead, you can use the `info(“clickedobjectid”) function to get the id of the object that was just being edited, like this:
This would be especially handy if you were using this code in a subroutine where it might be called from different Text Editor objects at different times.