Comments (7)
Hm.. I jumped the gun by opening this issue.
I managed to find and correct the problem myself. I've submitted #7.
Things now work both in the "regular" terminal and the one with solarized colorscheme.
From what I see icdiff
uses highlighted colors and not the regular ones (or whatever they are called).
Is there a reason to use highlighted colors?
from icdiff.
icdiff
currently uses "bold" colors for two reasons: (a) when a changed section consists of whitespace changes only it needs to highlight the whitespace, and you can only do this with bold, and (b) in my colorscheme I think the bold colors are easier to see.
I'm happy to add a flag for this that uses non-bold colors, except for the case of (a). Let me have a look.
from icdiff.
Hmm.. yes, you are right about (a). After you said this I realized I don't see whitespace changes when using non-bold colors locally..
from icdiff.
Actually, I think (a) isn't really a problem, and is just an issue with the hacky show_all_spaces
regexp I'm using.
from icdiff.
Ah yes.. it seems the regex there presumes a bold color is used.
After changing the regex to assume "regular" color is used (basically changing the 1
to 0
) I can confirm the whitespace diff, is now visible!
from icdiff.
Ok; if you update icdiff
and give it the --no-bold
argument then you'll get something that should work better for you.
from icdiff.
Thanks a lot
from icdiff.
Related Issues (20)
- Error when comparing dangling symlinks
- It doesn't work on svn HOT 4
- Diff on those two files shows that all the line has changed. Does not get granular to the character. HOT 1
- Failed running because it can't find /usr/bin/python on RHEL 8 HOT 1
- Apt package? HOT 2
- update icdiff on pypi.org to latest version HOT 2
- ChangeLog does not mention versions newer than 1.9.4 HOT 1
- BUG: Filenames show as mismatch when using exclusions
- Bug report: configuration for `git icdiff` did not work HOT 2
- installing the latest release-2.0.0 requires different command than install instructions HOT 2
- icdiff doesn't work on windows HOT 2
- Add support to specify colors using RGB ? HOT 1
- Add Support for custom patch hunk headers (with some builtins) HOT 1
- It seems have some problem about utf-8 HOT 1
- git icdiff shows old filname for renamed files HOT 2
- Multi-version of the Python HOT 1
- Exit code 1 using process substitutions HOT 4
- Pip install with `--platform` showing ERROR HOT 2
- [issue] linux more shows empty line. ex) icdiff -N fileA fileB | more -60 HOT 1
- Config file 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 icdiff.