Blaž Hrastnik
|
4a648555ed
|
Don't try to compose zero-width deletes.
|
2020-10-13 23:13:56 +09:00 |
|
Blaž Hrastnik
|
490e23b645
|
Simplify changeset tracking.
|
2020-10-13 23:13:56 +09:00 |
|
Blaž Hrastnik
|
8098279676
|
Cleanup
|
2020-10-13 23:13:56 +09:00 |
|
Blaž Hrastnik
|
1dba0f2b1c
|
Simple yank/paste registers.
|
2020-10-13 23:13:56 +09:00 |
|
Blaž Hrastnik
|
eba5b1ef33
|
Fix changeset composition, lengths don't have to match.
|
2020-10-13 23:13:56 +09:00 |
|
Blaž Hrastnik
|
b765c17896
|
Hacky undo/redo integration.
|
2020-10-13 23:13:56 +09:00 |
|
Blaž Hrastnik
|
04b1546634
|
history.redo()
|
2020-10-13 23:13:56 +09:00 |
|
Blaž Hrastnik
|
8c7bc71ede
|
Split on matches off by one, breaks tests again.
|
2020-10-13 23:13:56 +09:00 |
|
Blaž Hrastnik
|
fd311fb8ad
|
Undo tree draft.
We keep a tree of transactions. This allows for persistent undo by
simply serializing the changesets.
|
2020-10-13 23:13:56 +09:00 |
|
Blaž Hrastnik
|
5392b48268
|
Drop Coords.
|
2020-10-07 13:59:19 +09:00 |
|
Jan Hrastnik
|
038201647c
|
started work on goto mode
|
2020-10-04 23:47:37 +02:00 |
|
Blaž Hrastnik
|
883b77bd24
|
Fix transaction.invert()/.apply() using byte counts instead of char counts.
|
2020-10-04 17:37:46 +09:00 |
|
Blaž Hrastnik
|
aa077a07f3
|
Implement Transaction::invert.
|
2020-10-02 18:16:26 +09:00 |
|
Blaž Hrastnik
|
5945815d97
|
Fix cursor rendering & placement on append mode.
|
2020-10-01 18:44:12 +09:00 |
|
Blaž Hrastnik
|
e39bd211d1
|
argh -> clap to speed up compilation (no syn/proc_macro)
|
2020-10-01 12:25:03 +09:00 |
|
Blaž Hrastnik
|
592c5b0af2
|
Fix test, break split + append
|
2020-09-29 18:13:19 +09:00 |
|
Blaž Hrastnik
|
3feb00283d
|
clippy warnings
|
2020-09-29 18:07:05 +09:00 |
|
Blaž Hrastnik
|
1bb01d27ae
|
Simplify line ending calculation.
|
2020-09-29 17:49:19 +09:00 |
|
Blaž Hrastnik
|
13d1ea542e
|
Clamp character movement to line.
|
2020-09-29 01:11:17 +09:00 |
|
Blaž Hrastnik
|
36e7e2133f
|
Split selection on regex, fix InputEdit generation.
|
2020-09-29 01:01:27 +09:00 |
|
Blaž Hrastnik
|
3020077da8
|
Extend selection commands.
|
2020-09-29 01:00:35 +09:00 |
|
Blaž Hrastnik
|
e0785aabe7
|
Move-by-word commands: w, b, e.
|
2020-09-24 19:16:35 +09:00 |
|
Blaž Hrastnik
|
eb639eb2e4
|
More robust syntax detection/grammar loading.
|
2020-09-22 18:27:37 +09:00 |
|
Blaž Hrastnik
|
935cfeae57
|
Split parts of helix-term into helix-view.
It still largely depends on term for some types but I plan to change
that later.
|
2020-09-21 18:24:16 +09:00 |
|
Blaž Hrastnik
|
48330ddb5f
|
Command needs access to view information for certain changes.
|
2020-09-19 23:16:00 +09:00 |
|
Blaž Hrastnik
|
b120515613
|
Range based highlight_iter. Only works on limiting the start right now
|
2020-09-19 11:58:08 +09:00 |
|
Blaž Hrastnik
|
3859f6963d
|
More work on the UI.
|
2020-09-19 11:58:08 +09:00 |
|
Blaž Hrastnik
|
088f8a82af
|
Incremental parsing: rough draft.
|
2020-09-17 16:32:40 +09:00 |
|
Blaž Hrastnik
|
31999d6528
|
Make state fields read-only from outside the crate.
|
2020-09-14 19:50:46 +09:00 |
|
Blaž Hrastnik
|
96db02742e
|
Simplify some more code.
|
2020-09-13 23:40:11 +09:00 |
|
Blaž Hrastnik
|
0427acd18c
|
Avoid collect() by accepting iterators into Transaction::change.
|
2020-09-13 23:12:14 +09:00 |
|
Blaž Hrastnik
|
2027f69eae
|
Deduplicate some code.
|
2020-09-13 20:11:29 +09:00 |
|
Blaž Hrastnik
|
b827b41efe
|
Address clippy lint.
|
2020-09-13 20:06:53 +09:00 |
|
Blaž Hrastnik
|
b08278807e
|
Add 'A', 'I' commands.
|
2020-09-13 20:04:16 +09:00 |
|
Blaž Hrastnik
|
fb0f56b747
|
Add 'o' command.
|
2020-09-13 19:51:42 +09:00 |
|
Blaž Hrastnik
|
22cb7b3338
|
Change -> Operation, Change2 -> Change
|
2020-09-13 19:18:05 +09:00 |
|
Blaž Hrastnik
|
d86f0feafc
|
Abstract Transaction::change from change_by_selection.
|
2020-09-13 15:48:15 +09:00 |
|
Blaž Hrastnik
|
593f33dca6
|
Fix clippy warnings.
|
2020-09-13 11:36:48 +09:00 |
|
Blaž Hrastnik
|
d466882d04
|
Abstract Transaction::change_by_selection, working del/backspace.
|
2020-09-13 11:32:37 +09:00 |
|
Blaž Hrastnik
|
f098166571
|
Get rid of a bunch of clones.
|
2020-09-12 23:52:38 +09:00 |
|
Blaž Hrastnik
|
9546164dc8
|
cargo fmt & clippy lint
|
2020-09-12 19:38:30 +09:00 |
|
Blaž Hrastnik
|
a106be94f1
|
Refactor a little bit.
|
2020-09-12 17:44:57 +09:00 |
|
Blaž Hrastnik
|
b17a77b8b8
|
cleanup: Import tree-sitter-highlight so we can cache trees.
|
2020-09-11 14:14:44 +09:00 |
|
Blaž Hrastnik
|
b647c7a773
|
tree-sitter based syntax highlighting draft
|
2020-09-10 18:19:59 +09:00 |
|
Blaž Hrastnik
|
25b3f98e3d
|
draft: tree-sitter highlighting
|
2020-09-09 15:48:25 +09:00 |
|
Blaž Hrastnik
|
563e094916
|
Fix double must_use.
|
2020-09-08 21:06:39 +09:00 |
|
Blaž Hrastnik
|
67017e5336
|
append mode
|
2020-09-07 17:17:14 +09:00 |
|
Blaž Hrastnik
|
dd749bb284
|
Expand transaction API.
|
2020-09-07 17:08:28 +09:00 |
|
Blaž Hrastnik
|
8b3e152126
|
cleanup: Make Buffer just a part of State.
|
2020-09-07 11:28:52 +09:00 |
|
Blaž Hrastnik
|
579b6899f1
|
Work on insert mode.
|
2020-09-07 11:21:26 +09:00 |
|