Kirawi
|
b873fb9897
|
Fix Unicode (#135)
* init
* wip
* wip
* fix unicode break
* fix unicode break
* Update helix-core/src/transaction.rs
Co-authored-by: Benoît Cortier <benoit.cortier@fried-world.eu>
* clippy
* fix
* add changes
* added test
* wip
* wip
* wip
* wip
* fix
* fix view
* fix #88
Co-authored-by: Benoît Cortier <benoit.cortier@fried-world.eu>
|
2021-06-08 13:20:15 +09:00 |
|
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 |
|
Ivan Tham
|
40744ce835
|
Add ctrl-w in insert mode
It seemed to panic when I pressed too many times, but that is from
lsp side.
|
2021-06-06 21:30:18 +09:00 |
|
Ivan Tham
|
6254720f53
|
Add unreachable context
Better error for #123
|
2021-06-05 20:18:27 +08:00 |
|
Kirawi
|
c17dcb8633
|
Fixing Multiple Panics (#121)
* init
* wip
* wip
|
2021-06-05 12:49:19 +09:00 |
|
Blaž Hrastnik
|
f4560cb68a
|
Better fix for w/e that also covers ia<esc>we /ia<esc>wb
|
2021-06-02 14:57:43 +09:00 |
|
Blaž Hrastnik
|
3ace581191
|
Fix panics when triggering w or e on the last char of the line
Closes #32
|
2021-06-02 13:19:40 +09:00 |
|
Blaž Hrastnik
|
c0264b9f7f
|
fix: Don't allow moving past last line, fixes #30, #24
Off by 1 error
|
2021-06-02 13:19:40 +09:00 |
|
Blaž Hrastnik
|
2cc30cd07c
|
Categorize _ as a word char, not punctuation
|
2021-05-31 21:09:17 +09:00 |
|
Blaž Hrastnik
|
17e9386388
|
Allow moving to EOL byte, also fixes #15
|
2021-05-31 17:08:19 +09:00 |
|
Blaž Hrastnik
|
e8298a398c
|
Fix selection rendering, it would be off by 1 if reverse.
|
2021-04-07 16:57:58 +09:00 |
|
Blaž Hrastnik
|
9dfd6f6bbc
|
clippy lint
|
2021-04-06 20:00:35 +09:00 |
|
Blaž Hrastnik
|
59a0fc7b59
|
w, b, e: Match kakoune's behavior in selecting by default.
I initially preferred only moving the cursor, but selecting the whole
word is a lot nicer for things like wd (instead of vwd).
|
2021-04-05 16:35:04 +09:00 |
|
Blaž Hrastnik
|
c331721565
|
Finish hiding doc.state / State as an implementation detail.
|
2021-03-18 15:07:02 +09:00 |
|
Blaž Hrastnik
|
dbcc099f48
|
Move things out of state.rs.
|
2021-03-18 14:07:53 +09:00 |
|