Sublime Forum

[resolved] problem on Python's keyword color

#1

QQ20210705-154611
I run the application in macOS with the latest version of Sublime,
but since I created a very long list in a .py file, and used the “replace” function, lots of the syntax colors had bugged (as the figure above, is a part of testing code, some of the keywords are totally white, or in a weird color).
Also, the bug still here after I reboot my PC, even reinstall the Sublime…

I promise that I haven’t changed any build system config, or any settings.
And I cannot get any same problem on google, so there is a little bit confused now…

how should I do?

many thanks

0 Likes

#2

What syntax are you using? In the bottom right corner, click on the name of the currently applied syntax, then select Python.

1 Like

#3

oh god! thank you rwols!! I fixed it! :sneezing_face:

0 Likes