The Rename window syntax highlights script code when the script code option is enabled. If you use the Command Editor to put script code in a button, the code is not syntax highlighted.
Is it somehow possible to enable syntax highlighting for script code on the Command Editor window, or should I submit a feature request ?