helix-mirror/helix-core/src
Benoît CORTIER 8a29086c1a Fix panic when moving over unicode punctuation
`is_ascii_punctuation` will only work for ASCII punctuations, and when
we have unicode punctuation (or other) we jump into the `unreachable`.
This patch fallback into categorizing everything in this branch as
`Unknown`.

Fixes https://github.com/helix-editor/helix/issues/123

https://github.com/helix-editor/helix/pull/135: add better support for
unicode categories.
2021-06-07 09:12:01 +09:00
..
auto_pairs.rs When calculating a new selection, we need to take newly inserted text into account. 2021-05-15 10:50:36 +09:00
comment.rs Fully drop State references. 2021-03-31 15:45:18 +09:00
diagnostic.rs Add the :new command, don't crash if saving without filename. 2021-05-07 14:19:58 +09:00
graphemes.rs clippy lint 2021-03-24 14:58:01 +09:00
history.rs Separate document history into Cell 2021-06-02 23:47:50 +08:00
indent.rs Try to detect language when document file path is set 2021-06-04 11:03:40 +09:00
lib.rs Add ctrl-w in insert mode 2021-06-06 21:30:18 +09:00
macros.rs Split parts of helix-term into helix-view. 2020-09-21 18:24:16 +09:00
match_brackets.rs Don't panic on empty file/buffer (#108) 2021-06-05 13:00:43 +09:00
movement.rs Fix panic when moving over unicode punctuation 2021-06-07 09:12:01 +09:00
object.rs minor: Remove a few unwraps. 2021-03-26 11:03:14 +09:00
position.rs clippy lint 2021-03-24 14:58:01 +09:00
register.rs Simple yank/paste registers. 2020-10-13 23:13:56 +09:00
search.rs fix: make find_prev_char and till_prev_char work 2021-06-06 00:01:16 +09:00
selection.rs Fixing Multiple Panics (#121) 2021-06-05 12:49:19 +09:00
state.rs Finish hiding doc.state / State as an implementation detail. 2021-03-18 15:07:02 +09:00
syntax.rs Return an error if we request an embedded file that does not exist. 2021-06-06 10:49:17 +09:00
transaction.rs Fixing Multiple Panics (#121) 2021-06-05 12:49:19 +09:00
words.rs Add test for prev word 2021-06-06 21:30:18 +09:00