Comments (9)
The markers aren't handled very well.. This could be fixed with periodic gutter cleaning or better handling of markers.
from guttercolor.
Maybe a good temporary measure would be to provide a command that flushed the markers?
from guttercolor.
Sounds like a plan.
from guttercolor.
This could be implemented as part of #44 - the reason for this is that the same command which will clear the gutter on plugin_unloaded
could be used as a Palette Command manually.
Currently each marker has a name of gutter_color_%s
where %s
is the region.a
(the first end of the region) value. I don't know if it's possible to iterate all of the regions beginning with gutter_color
and then remove them - that's what I'm looking into now.
from guttercolor.
Perhaps you could take a look how the VCS Gutter plugin handles this? It's
never caused me any issues with wrong things in the gutter.
from guttercolor.
I looked at the TrailingSpaces plugin and that solely uses TrailingSpacesMatchedRegion
. So I changed GC to do the same but with GutterColorRegion
and there didn't seem to be any adverse effects. More testing needs to be done and then I'll be able to get the command in to clear the regions up.
from guttercolor.
Oh so we could potentially have many regions using the same region key? That would make removing them much, much easier. 👍
I was playing with brute-force search and that was way too slow.
from guttercolor.
Yeah, exactly. I was thinking of brute-force myself then remembered that TrailingSpaces only uses one key.
Once the other bits are merged in, I'll swap the region keys to just one constant value, see how it works with the recent changes.
from guttercolor.
Wrong lines parsed as with color:
from guttercolor.
Related Issues (20)
- Colors are not showing properly HOT 7
- Gutter colour error
- RGBA color error HOT 2
- convert_path option doesn't work if a different convert binary resides in the path
- Convert.exe changed to magick.exe, so what should "convert_path" be? HOT 2
- GC not only for css
- use_transparency False causes error
- color are not showing in gutter but parallel lines HOT 4
- vertical lines in gutter after removing plugin
- Lines with no color code are getting gutter color HOT 2
- Not working until I open a second file/reopen same file
- color dot positions off center HOT 2
- New Version that does not have the Web Safe Color Name Issue HOT 1
- Red & Yellow Box Persists After Uninstalling GutterColor
- Getting Python Error -- TypeError: argument of type 'NoneType' is not iterable HOT 2
- Square yellow color when #FFFFFF but working when #ffffff HOT 2
- Icons still appears dark in light themes
- Syntax for `Fix Current Colour Scheme`, XML to JSON
- Color incorrect when `!important` is used HOT 1
- Some advice about license compliance HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from guttercolor.