helix-mods/helix-term
Michael Davis bcdb475b71
Fix transaction composition order in History::changes_since (#4981)
* Add a undo/redo split test case for crossing branches

* history: Switch up/down transaction chaining order

The old code tends to work in practice because, usually, either up_txns
or down_txns are empty. When both have contents though, we can run into
a panic trying to compose them all since they will disagree on the
length of the text. This fixes the panic test case in the parent
commit.
2022-12-03 12:09:08 +09:00
..
src Add Ctrl-i alias for Windows (#4961) 2022-12-02 08:02:29 -06:00
tests Fix transaction composition order in History::changes_since (#4981) 2022-12-03 12:09:08 +09:00
.gitignore Initial import. 2020-05-20 18:14:51 +09:00
build.rs Resolve a bunch of upcoming clippy lints 2022-11-04 21:06:28 +09:00
Cargo.toml Show (git) diff signs in gutter (#3890) 2022-12-01 17:35:23 +09:00