Skip to content

Commit

Permalink
Fix issue with later lines not having positions during diffing
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Mar 19, 2024
1 parent 627ebc5 commit 3be8e80
Show file tree
Hide file tree
Showing 5 changed files with 607 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ that files are binaries.
Scheme now uses the same slider heuristics as other lisps, preferring
the outer delimiter.

Fixed an issue with line-based diffing where only the first line in a
large changed region was highlighted. This was particularly noticeable
when diffing brand new files.

### Display

Fixed an issue when reporting changes in binary files, where trailing
Expand Down
3 changes: 3 additions & 0 deletions sample_files/compare.expected
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ sample_files/lua_before.lua sample_files/lua_after.lua
sample_files/makefile_before.mk sample_files/makefile_after.mk
7eea0d919b71161c72a4ef496fff749d -

sample_files/many_newlines_before.txt sample_files/many_newlines_after.txt
afc8628f89076423d1453d8e3c84ac92 -

sample_files/metadata_before.clj sample_files/metadata_after.clj
4ac68277cb69d0648961b891e02d2a7b -

Expand Down
Loading

0 comments on commit 3be8e80

Please sign in to comment.