ggordan / GutterColor

A Sublime Text 3 plugin which displays a colour in the gutter if the line contains a colour.
MIT License
486 stars 44 forks source link

Fixes issue #93 [Lots of random "red dots" showing up in the gutter] #102

Closed digeomel closed 8 years ago

digeomel commented 8 years ago

This is fixing issue #93 with the regex detecting CSS named colors. I don't understand what the negative lookbehind in the original regex was meant to do. I'm not sure this regex covers all cases where named colors are used, but I believe it covers the most common.

jbrooksuk commented 8 years ago

Thanks :)

digeomel commented 8 years ago

You're welcome :smile: I have tested it as much as I could, I hope you have tested it too.

naymapl commented 7 years ago

Thank You - this fix my issue is well.