We don’t need a warning here.
Hook up indentation in script editor to the tab key, maintaining the selection.
Slight refactoring and bug-fixing. Also includes buggy code for re-indenting on return key press, commented out.