helix-mirror/helix-term
Yuriy Gabuev c803ef8753
Fix delete_char_backward for paired characters (#4558)
When backward-deleting a character, if this character and the following
character form a Pair, we want to delete both. However, there is a bug
that deletes both characters also if both characters are closers of some
Pair.

This commit fixes that by adding an additional check that the deleted
character should be an opener in a Pair.

Closes https://github.com/helix-editor/helix/issues/4544.
2022-11-01 23:48:43 +09:00
..
src Fix delete_char_backward for paired characters (#4558) 2022-11-01 23:48:43 +09:00
tests Trim quotes and braces from paths in goto_file_impl (#4370) 2022-10-27 20:31:28 -05:00
.gitignore Initial import. 2020-05-20 18:14:51 +09:00
build.rs feat: support grammar cross-compilation 2022-08-02 12:04:09 +09:00
Cargo.toml build(deps): bump once_cell from 1.15.0 to 1.16.0 (#4548) 2022-10-31 19:31:08 -05:00