aboutsummaryrefslogtreecommitdiff
path: root/rprt-engine/src/selection_functions/result_transformation.rs
diff options
context:
space:
mode:
authortslil <tslil@posteo.de>2026-03-24 18:27:04 +0000
committertslil <tslil@posteo.de>2026-03-24 18:31:24 +0000
commit12455c6369547e970c4556bb20d8261eadc3b5ab (patch)
tree94d7bb592e50b1eaa4954b50322af4534ae5036d /rprt-engine/src/selection_functions/result_transformation.rs
parent5ee9f5e935e147e5f16801a9cbe461f0585c6ba8 (diff)
big ole rename for consistent terminology: scalar, vector, matrix, tensor
Diffstat (limited to 'rprt-engine/src/selection_functions/result_transformation.rs')
-rw-r--r--rprt-engine/src/selection_functions/result_transformation.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rprt-engine/src/selection_functions/result_transformation.rs b/rprt-engine/src/selection_functions/result_transformation.rs
index 865038c..c150916 100644
--- a/rprt-engine/src/selection_functions/result_transformation.rs
+++ b/rprt-engine/src/selection_functions/result_transformation.rs
@@ -20,7 +20,7 @@ pub fn complement_transform(es: &EditorState, result: Selection) -> SFResult {
if pos + 1 < max_pos {
ranges.push(Interval::new(pos + 1, max_pos));
}
- Ok(Selection::Ranges { buffer_id, ranges })
+ Ok(Selection::Vectors { buffer_id, ranges })
} else {
Err(SFError::BufferNotFound(buffer_id))
}
@@ -48,7 +48,7 @@ pub fn complement_transform(es: &EditorState, result: Selection) -> SFResult {
ranges.push(Interval::new(0, interval.start));
ranges.push(Interval::new(interval.end, max_pos));
}
- Ok(Selection::Ranges { buffer_id, ranges })
+ Ok(Selection::Vectors { buffer_id, ranges })
} else {
Err(SFError::BufferNotFound(buffer_id))
}