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

Lines with no color code are getting gutter color #112

Open Amomum opened 7 years ago

Amomum commented 7 years ago

I'm using sublime on windows 7 and I noticed this behaviour while editing a reasonably large xml file (~1000 lines): eragerzgr awegaesfa

Lines 443, 445, 454, 456, 379 and 390 do not contain any color code but still get a colored circle in the gutter. I suppose it has something to do with the word 'constant' since it is present in every such line. I'm not aware of such color but I may be wrong.

barredespace commented 7 years ago

It's "tan"… Gutter Color detects color names inside words so you got Tan color for consTANt. Well.

rq28 commented 6 years ago

This problem bothered me too so I just went to C:\Users\rq\AppData\Roaming\Sublime Text 3\Packages\Gutter Color and modified the line.py file, commented out all the colors, from 'aliceblue': '#f0f8ff' to 'yellowgreen': '#9acd32'.

Works like a charm now :)