Lines Matching refs:MoveSelection
17 pub enum MoveSelection { enum
81 pub fn move_selection(&mut self, dir: MoveSelection) -> bool { in move_selection()
84 MoveSelection::Up => { in move_selection()
87 MoveSelection::Down => { in move_selection()
90 MoveSelection::Left => self.selection_left(selection), in move_selection()
91 MoveSelection::Right => { in move_selection()
94 MoveSelection::Home => SelectionChange::new(0, false), in move_selection()
95 MoveSelection::End => self.selection_end(), in move_selection()
380 assert!(res.move_selection(MoveSelection::Down)); in test_selection()
384 assert!(res.move_selection(MoveSelection::Left)); in test_selection()
676 assert!(res.move_selection(MoveSelection::Down)); in test_selection_skips_collapsed()