summaryrefslogtreecommitdiff
path: root/helix-view
diff options
context:
space:
mode:
authorBlaž Hrastnik2022-11-08 12:03:54 +0000
committerBlaž Hrastnik2022-11-08 12:03:54 +0000
commitc94feed83d746e71fb030639d740af85162b0763 (patch)
treeafe451cc4d61415282e063c670dd78f67f10ccc2 /helix-view
parent13126823f83cb90a3aabfc2326c0907d1ca2d921 (diff)
core: Move state into the history module
Diffstat (limited to 'helix-view')
-rw-r--r--helix-view/src/document.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs
index 9a7febd2..08708528 100644
--- a/helix-view/src/document.rs
+++ b/helix-view/src/document.rs
@@ -16,11 +16,11 @@ use std::sync::Arc;
use helix_core::{
encoding,
- history::{History, UndoKind},
+ history::{History, State, UndoKind},
indent::{auto_detect_indent_style, IndentStyle},
line_ending::auto_detect_line_ending,
syntax::{self, LanguageConfiguration},
- ChangeSet, Diagnostic, LineEnding, Rope, RopeBuilder, Selection, State, Syntax, Transaction,
+ ChangeSet, Diagnostic, LineEnding, Rope, RopeBuilder, Selection, Syntax, Transaction,
DEFAULT_LINE_ENDING,
};