rofd_editor/steps/transaction.rs
1use crate::cursor::TextCursor;
2use crate::selection::AnnotationSelection;
3use crate::steps::step_trait::Step;
4
5pub struct Transaction {
6 pub steps: Vec<Box<dyn Step>>,
7 pub selection_before: AnnotationSelection,
8 pub selection_after: AnnotationSelection,
9 pub text_cursor_before: Option<TextCursor>,
10 pub text_cursor_after: Option<TextCursor>,
11}