I have a few suggestions on further improvements of the Input Editor:
Variable Naming
Currently the snippet reads something like:
| Quote |
|---|
| local v = get_sample_grayscale(x, y, SOURCE) |
It would be more useful if the variable name instead is similar to the identifier:
| Quote |
|---|
| local source = get_sample_grayscale(x, y, SOURCE) |
(in small case, to avoid conflicts with identifier)
Combined Code Snippets
Instead of showing a special Code Snippet field for each input, why not show them all together so we can copy them all at once (in two text sections, one for prepare and one for get_sample)?
"New Input..." dialog
In the "New Input..." dialog, the "Color Map" type is selected by default. This is very annoying and often result in adding the wrong input type.
Also you can click OK when the settings are not OK (e.g. missing name).
In general I think this dialog is overkill - why not merge it with the main Input window somehow?