aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/lib.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2020-10-04 08:15:43 +0000
committerBlaž Hrastnik2020-10-13 14:13:56 +0000
commitfd311fb8ad8792c8f21ed0bcf56d4a818715d5f7 (patch)
treed44c2771759605fac1541b2973297af3ce21a8e2 /helix-core/src/lib.rs
parent9a73d3f1b97d41aab101262ce72fc3019c4a0f91 (diff)
Undo tree draft.
We keep a tree of transactions. This allows for persistent undo by simply serializing the changesets.
Diffstat (limited to 'helix-core/src/lib.rs')
-rw-r--r--helix-core/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/helix-core/src/lib.rs b/helix-core/src/lib.rs
index 0f58fbbc..9bc5d003 100644
--- a/helix-core/src/lib.rs
+++ b/helix-core/src/lib.rs
@@ -1,5 +1,6 @@
#![allow(unused)]
pub mod graphemes;
+mod history;
pub mod macros;
mod position;
pub mod selection;
@@ -19,6 +20,7 @@ pub use selection::Range;
pub use selection::Selection;
pub use syntax::Syntax;
+pub use history::History;
pub use state::State;
pub use transaction::{Assoc, Change, ChangeSet, Transaction};