I can't edit the code in the file

I can’t edit the code in the file. I can cut and copy and paste the code, but I can’t delete it or enter it manually. Is anyone else having the same problem?
Maybe I have a setting turned on somewhere.