aboutsummaryrefslogtreecommitdiff
path: root/helix-core/src/state.rs
diff options
context:
space:
mode:
authorJan Hrastnik2020-06-24 18:59:35 +0000
committerJan Hrastnik2020-06-24 18:59:35 +0000
commit6ba082697d4a930d4114e950a212f115bace47e9 (patch)
tree278c403c63a34899f8a175bf55deb035b0833c80 /helix-core/src/state.rs
parentc3a23a1c0933900d795a1a5b67c3a305616ba8f2 (diff)
added cursor rendering
Diffstat (limited to 'helix-core/src/state.rs')
-rw-r--r--helix-core/src/state.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-core/src/state.rs b/helix-core/src/state.rs
index 429a4dd4..2458f9b1 100644
--- a/helix-core/src/state.rs
+++ b/helix-core/src/state.rs
@@ -3,8 +3,8 @@ use crate::{Buffer, Rope, RopeSlice, Selection, SelectionRange};
/// A state represents the current editor state of a single buffer.
pub struct State {
- pub(crate) doc: Buffer,
- pub(crate) selection: Selection,
+ pub doc: Buffer,
+ pub selection: Selection,
}
#[derive(Copy, Clone, PartialEq, Eq)]