You have set your IDE to use an external editor. This is useful when you prefer to use a different text editor, and only want to use the IDE to compile, upload, install libraries, install hardware packages, but not to edit sketches. When in external editor mode, any changes you make to the open sketch file in your text editor will be reflected in the Arduino IDE. If you want to go back to using the Arduino IDE's text editor, do this: