diff options
| author | Maxime Coste <mawww@kakoune.org> | 2024-03-23 20:02:16 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2024-03-23 20:07:41 +1100 |
| commit | 699c70ac91304078cdf4a8fee6d1737553f96606 (patch) | |
| tree | e83a59ff972d54f9026e70c901e7c2e867d67e43 /test | |
| parent | 6e4bb5fbc5bc01c9143e40e3f4cb5b48efb020ec (diff) | |
Add some missing ScopedEdition and fix redo
tabs <-> space conversion functions did not create a ScopedEdition
leading to uncommited modifications. Fixing this did fix the
interactive error, but that error still existed in non interactive
context so redo now considers there there is no redo child if there
are uncommited modifiations (which is correct as this means we are
currently creating a new leaf in the undo tree)
Fixes #5124
Diffstat (limited to 'test')
| -rw-r--r-- | test/regression/5124-assert-in-redo/cmd | 1 | ||||
| -rw-r--r-- | test/regression/5124-assert-in-redo/in | 1 | ||||
| -rw-r--r-- | test/regression/5124-assert-in-redo/out | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/test/regression/5124-assert-in-redo/cmd b/test/regression/5124-assert-in-redo/cmd new file mode 100644 index 00000000..7e408326 --- /dev/null +++ b/test/regression/5124-assert-in-redo/cmd @@ -0,0 +1 @@ +%du<a-@>U diff --git a/test/regression/5124-assert-in-redo/in b/test/regression/5124-assert-in-redo/in new file mode 100644 index 00000000..e7d712ce --- /dev/null +++ b/test/regression/5124-assert-in-redo/in @@ -0,0 +1 @@ +foo bar diff --git a/test/regression/5124-assert-in-redo/out b/test/regression/5124-assert-in-redo/out new file mode 100644 index 00000000..9a9b36bb --- /dev/null +++ b/test/regression/5124-assert-in-redo/out @@ -0,0 +1 @@ +foo bar |
