Hello,
I have a python code, suddenly some commands got highlighted and I dont know why or how to stop it.
The rest of the code isnt highlighted at all. It occurrs whenever I write new text anywhere in the File. It also appears with correct syntax.
I would like to know why the highlighting occured and how to disable it.

Single commands highlighted for unknown reasons
0 Likes
jfcherng
#2
I would guess you have something wrong which is not shown in the screenshot, because the color of the = is already wrong.
0 Likes
Yes, I had a false declaration of an numpy array few lines above which caused this.
Everything is back to normal now also the “=”
But I still dont really get how the highlighting is working, it also appeared above the lines of the wrong code.
0 Likes
Obviously the triple for loop isnt correct, just wanted to show how every second is highlighted.
It did appear with valid code above the wrong array though.
0 Likes
jfcherng
#6
Without reproducible codes, I consider discussions are wasting time. Just like arguing whether unicorn exists.
1 Like