I made a minor change to the editor. Specifically, instead of being forced to type (and remember) the name of a prototype definition, you will now be able to select from a list of valid prototype definition names.
Excellent. I have been meaning to do that for years!
Does it allow you to override the text and enter the name of a non-existent prototype? You may want to use the name of a prototype that you have not created yet. Or the name of a prototype that only exists in an Extension, not in the main module.
I thought about that, but decided it wasn’t worth the effort. It’s easy enough to go declare the prototype first, even if you don’t put anything in it.
I’m going to do the same for ‘send to location’ as well as anywhere else it makes sense. Attempting to build/edit a module I am finding a lot of places where a small change improves module creation/updates immensely.
Modules already exist that add prototypes to pieces in the main module, where the prototype is only defined in an extension. It allows you to future-proof the module by allowing extensions to add functionality to counters defined in the core module, without having to provide a completely new counter set.
It shouldn’t be hard to do, just make it an Editable Combo-box.
Ok, you can now enter text in the combo box as well as select from a list of existing prototype definitions. Take a look and let me know if it’s ok now.
One funny I found was that if you delete a prototype definition, it still appears as an option in the drop-down list. New prototype definitions appear correctly.
I added three new prototype definitions A, B, C. Go to a prototype and all 3 correctly appear, select A. Close the prototype. Delete prototype definition C. Go back to a prototype and C still appears in the drop down list.