-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
fix(difftastic): Adjust endmarkers #11983
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
fix(difftastic): Adjust endmarkers #11983
Conversation
instead of inserting '|' to the text
The processing that parses the line numbers printed by Difftastic did not always remove the textmarkers for the removed line numbers.
c6ab31b
to
3bf0668
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks sensible, have not run
The vertical ruler position gets overridden after closing the settings dialog. Just to be aware of - not requesting a change. |
separate. |
The vertical ruler used as separator for side-by-side diff jumps away to the setting value instead of the difftastic result when refreshing after canceling the settings dialog. |
Proposed changes
First commit reviewed in #11982, this commit is incomplete in the handling of text markers . Actually, #11921 that merged adjacent textmarkers, slightly broke the Difftastic color processing.
The colors bleed slightly.
This PR refactors the processing and simplifies the handling too.
Note: It was maybe not a good move to try to process the Difftastic output to be similar to other GE diffs, but now its done.
Screenshots
This is with #11982 only, not in master

Test methodology
Manual
Merge strategy
I agree that the maintainer squash merge this PR (if the commit message is clear).
✒️ I contribute this code under The Developer Certificate of Origin.