Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple small changes in long lines are not individually highlighted #375

Open
s-m-e opened this issue May 21, 2020 · 1 comment
Open

Comments

@s-m-e
Copy link

s-m-e commented May 21, 2020

I just tried to use diff-so-fancy for comparing large markdown files. Great tool, thanks!

I am dealing with multiple sentences per line, so a line can easily have a few thousand characters. If there are two smaller changes within this line, everything from the first to the last change will be highlighted. If there is a third change in the middle, it's impossible to spot it. I am guessing that this is a non-trivial problem to solve ...

@OJFord
Copy link
Member

OJFord commented May 26, 2020

Intra-line highlighting is handled by diff-highlight, which is distributed with git, so the appropriate place to discuss it would be the mailing list - but I'd suggest you probably won't get much interest unless you have some concrete ideas for improving it, or better, a patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants