-
Notifications
You must be signed in to change notification settings - Fork 5.3k
import diff viewer #5798
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
import diff viewer #5798
Conversation
Great work 🥳 I found another bug with the collapse unchanged lines option and it's related to unfolding with a similar behavior to the one @akoreman reported: ![]() |
Is dual numbering in the gutter intentional? |
bce6ded
to
936ed98
Compare
70ea6e5
to
7ec9e82
Compare
I have fixed most of the issues with folds except the case when fold starts outside of changed range and ends inside one, perhaps we should indeed disable folding in that case. For the accept/reject feauture, i think the easiest solution will be to modify align method to include widgets for these too. I've also added ability to select text inside the green zones, but not sure if we should limit selection to one green zone, or to allow to select as if we are in a diffview with new code editable. In principle using the approach we could make both old and new editable in inline view. |
I think being able to select text inside the green zones is a nice addition, I did spot some quirks with it:
Screen.Recording.2025-04-28.at.15.39.09.mov
Screen.Recording.2025-04-28.at.15.44.21.mov
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #5798 +/- ##
==========================================
- Coverage 87.34% 86.84% -0.51%
==========================================
Files 605 611 +6
Lines 44620 45558 +938
Branches 7301 7493 +192
==========================================
+ Hits 38975 39563 +588
- Misses 5645 5995 +350
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
https://raw.githack.com/ajaxorg/ace/78a7d8586b184e300301bcae29b0c88cf5465af4/demo/diff/index.html