BUG COLOR in the editor


#1

Hi ! I have write a dict in python and the colors is bugging : (do not pay attention for the texte)


If i re-write the line with regular expression " number: value," the line ending are green:
Image

I’m waiting for a response ^^

(Sorry for my english i’m french)


#2

The colouring is dictated by the syntax theme.
I am not sure what you want however.
Could you show with arrows in the picture what colour you want where.
Also consider looking into using “magicpython” add-in


#3

Your dict is very long. Atom stops coloring text after a certain number of highlights in a line, for performance reasons. If you break it up into multiple lines, you won’t have an issue.