Can you give an example of what you’re trying to do and how the editor is messing with your code? Most power users I know just write in plain text format. Until we can figure out what you are trying to accomplish, switching to that may be your best bet for now.