How to set Text Editor?

Hi All, my code is not colorful. Maybe I don’t set the text editor correctly?
Thanks!