I've been working on creating some Python scripts, and I've been testing out parts of them by copying and pasting the code from PyCharm into the Python window in ArcMap. That has worked perfectly for many days, until today. Today, when I've tried copying and pasting this script (which is for undoing some of what my real script does, so that I can re-test it), it gets pasted in an unusual font. I HAVE RUN THIS SCRIPT SUCCESSFULLY BEFORE. But today, it does not seem to be recognized as code. It does not automatically get the dots on the left-hand side of the lines of code that it normally gets. And the code does not run, as you can see in the error message at the bottom.
Can anyone help me get back to the correct style pasting? Why is this happening?