Once you started writing code in Script mode, you should NEVER switch to Manual mode. When you switch from Manual mode back to Script mode, you will find your code is somewhat changed by KS.
Switching between Script mode and Manual mode causes many confusions, which is already known and has been (and will be, I think) left unfixed.
- Why do comments always move back to left? - #3 by kazurayam
- Why is KSE changing scripts and how to avoid it? - #2 by Russ_Thomas
- ScriptView > ManualView > ScriptView
and more