aboutsummaryrefslogtreecommitdiff
path: root/rprt-engine/src/state.rs
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2026-03-21 08:49:35 +0000
committertslil <tslil@posteo.de>2026-03-21 17:26:50 +0000
commitc22cc3b348bdcb446fb0e44070da36fdf6b05800 (patch)
tree81371ff735529e7b2a5b1727be9c8b06123609e6 /rprt-engine/src/state.rs
parent5a5da7bc299bee12072e421d1936554690e34dd6 (diff)
big rework to support evaluation of selection functions, WiP
Diffstat (limited to 'rprt-engine/src/state.rs')
-rw-r--r--rprt-engine/src/state.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/rprt-engine/src/state.rs b/rprt-engine/src/state.rs
index 68283d0..80b5e86 100644
--- a/rprt-engine/src/state.rs
+++ b/rprt-engine/src/state.rs
@@ -1,5 +1,7 @@
-use crate::buffer::{Buffer, BufferID};
-use crate::selection::Selection;
+use crate::{
+ buffer::{Buffer, BufferID},
+ selection::Selection,
+};
use std::collections::{HashMap, HashSet};
use std::path::PathBuf;
@@ -365,4 +367,4 @@ impl EditorState {
}
}
-pub type EvaluationResult = (Selection, Vec<StateChange>);
+pub type StateResult = (Selection, Vec<StateChange>);