From c331721565a00850849e0a99fd325ae281bfb800 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Thu, 18 Mar 2021 15:07:02 +0900 Subject: Finish hiding doc.state / State as an implementation detail. --- helix-view/src/document.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'helix-view') 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, /// Current editing mode. -- cgit v1.2.3-70-g09d2