aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/state.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-core/src/state.rs')
-rw-r--r--helix-core/src/state.rs6
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