atom-color-highlight
atom-color-highlight copied to clipboard
Cursor bracket highlights Adjust Color Placement
- Great idea!
- Here’s a short video of the error: http://cl.ly/0O0y22203j3b
- Thanks! Glad you like it, I initially discovered that feature in FDT in my AS3 days and I just pushed the concept a bit further.
- I haven't noticed that behavior with my current setup, so my guess is that there is some styles pollution at some point. Can you try something for me? I would like you to compare the styles applied to the color marker in the two states to see if there's a rule that cause this offset. Also, can you tell me if the offset appears for every color markers in the buffer or only for the one between the bracket? And for the record, I'll need your version of Atom and the plugin's one.
So, having looked at it a bit more, it looks like there’s an weird line at the top of the doc that might be causing the displacement. I would imagine it just moves the point that is considered 0,0 for rendering with CSS positioning. Short video here.
To answer your questions: it seems the styling on the color markers doesn’t change; all color markers move, not just the one most directly associated; Atom v0.186.0, plugin v3.0.8.
Oh, interesting, have you tried to inspect this blue line to see where it comes from?
Huh. Good point! Perhaps it’s a theme issue and not a plugin issue. I’ll check its out origin.