diff options
author | Blaž Hrastnik | 2020-05-28 08:47:35 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2020-05-28 08:47:35 +0000 |
commit | 6905ff03c29c9fc020a6333adf9e9d5004c3f3c5 (patch) | |
tree | 39b0a23ccafce90cc7c767cee5859c75666fd3d6 /helix-core/src/state.rs | |
parent | 1984410ac998ac5561f4a3de87d3d125f2f61178 (diff) |
Start swapping from termwiz to crossterm + async.
Diffstat (limited to 'helix-core/src/state.rs')
-rw-r--r-- | helix-core/src/state.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/helix-core/src/state.rs b/helix-core/src/state.rs index b4a3f2f0..22de6ca7 100644 --- a/helix-core/src/state.rs +++ b/helix-core/src/state.rs @@ -18,7 +18,11 @@ impl State { // TODO: buf/selection accessors - // update/transact + // update/transact: + // update(desc) => transaction ? transaction.doc() for applied doc + // transaction.apply(doc) + // doc.transact(fn -> ... end) + // replaceSelection (transaction that replaces selection) // changeByRange // changes |