aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/transaction.rs
diff options
context:
space:
mode:
authorCorey Powell2021-06-02 18:27:35 +0000
committerGitHub2021-06-02 18:27:35 +0000
commit7761c88d6130364915daa23115d2ee1234b2bab5 (patch)
tree23d96dcd421a094d28bb7edf9f6d2c6797fbd25d /helix-core/src/transaction.rs
parent68f5031dcc25cef64f9f4539f4ef9f31230182be (diff)
parentf5f46b1fed242f0b5a206753f7f977299fb2ff65 (diff)
Merge pull request #62 from pickfire/cell
Separate document history into Cell
Diffstat (limited to 'helix-core/src/transaction.rs')
-rw-r--r--helix-core/src/transaction.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-core/src/transaction.rs b/helix-core/src/transaction.rs
index 77cb358f..e61063f0 100644
--- a/helix-core/src/transaction.rs
+++ b/helix-core/src/transaction.rs
@@ -415,7 +415,7 @@ impl ChangeSet {
/// Transaction represents a single undoable unit of changes. Several changes can be grouped into
/// a single transaction.
-#[derive(Debug, Clone)]
+#[derive(Debug, Default, Clone)]
pub struct Transaction {
changes: ChangeSet,
selection: Option<Selection>,