diff options
author | Blaž Hrastnik | 2021-03-18 06:07:02 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-03-18 06:07:02 +0000 |
commit | c331721565a00850849e0a99fd325ae281bfb800 (patch) | |
tree | 9645238dc5900e77426e44ecbd4d9e47250d3a1d /helix-view/src | |
parent | 8ba1e15d296fd3350332d8fa372c4c7703024a67 (diff) |
Finish hiding doc.state / State as an implementation detail.
Diffstat (limited to 'helix-view/src')
-rw-r--r-- | helix-view/src/document.rs | 3 |
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. |