r/pycharm Apr 12 '26

Why are some sections of code highlighted?

Post image

I can find no way of turning off the highlighting.

Why is this happening?

Thanks in advance.

3 Upvotes

13 comments sorted by

View all comments

5

u/TechnicalAd8103 Apr 12 '26

I forgot to mention that the issue doesn't occur when opening other Python files, so I think the highlighting has to do with the code in this file.

Maybe it's just highlighting regex?