The indentation seems to switch from tabs to spaces when a user UI script is opened in the internal editor.