mirror of https://github.com/helix-editor/helix
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
94535fa013
* Add auto pairs for same-char pairs * Add unit tests for all existing functionality * Add auto pairs for same-char pairs (quotes, etc). Account for apostrophe in prose by requiring both sides of the cursor to be non-pair chars or whitespace. This also incidentally will work for avoiding a double single quote in lifetime annotations, at least until <> is added * Slight factor of moving the cursor transform of the selection to inside the hooks. This will enable doing auto pairing with selections, and fixing the bug where auto pairs destroy the selection. Fixes #1014 |
3 years ago | |
---|---|---|
.. | ||
increment | 3 years ago | |
auto_pairs.rs | 3 years ago | |
chars.rs | 3 years ago | |
comment.rs | 3 years ago | |
diagnostic.rs | 3 years ago | |
diff.rs | 3 years ago | |
graphemes.rs | 3 years ago | |
history.rs | 3 years ago | |
indent.rs | 3 years ago | |
lib.rs | 3 years ago | |
line_ending.rs | 3 years ago | |
macros.rs | 4 years ago | |
match_brackets.rs | 3 years ago | |
movement.rs | 3 years ago | |
object.rs | 3 years ago | |
path.rs | 3 years ago | |
position.rs | 3 years ago | |
register.rs | 3 years ago | |
search.rs | 3 years ago | |
selection.rs | 3 years ago | |
shellwords.rs | 3 years ago | |
state.rs | 3 years ago | |
surround.rs | 3 years ago | |
syntax.rs | 3 years ago | |
textobject.rs | 3 years ago | |
transaction.rs | 3 years ago |