aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-03-18 06:07:02 +0000
committerBlaž Hrastnik2021-03-18 06:07:02 +0000
commitc331721565a00850849e0a99fd325ae281bfb800 (patch)
tree9645238dc5900e77426e44ecbd4d9e47250d3a1d /helix-view/src
parent8ba1e15d296fd3350332d8fa372c4c7703024a67 (diff)
Finish hiding doc.state / State as an implementation detail.
Diffstat (limited to 'helix-view/src')
-rw-r--r--helix-view/src/document.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs
index 76a3b8e9..e606ec3c 100644
--- a/helix-view/src/document.rs
+++ b/helix-view/src/document.rs
@@ -17,7 +17,8 @@ pub enum Mode {
}
pub struct Document {
- pub state: State, // rope + selection
+ // rope + selection
+ state: State,
path: Option<PathBuf>,
/// Current editing mode.