(&mut self)
| 102 | } |
| 103 | |
| 104 | pub fn start_selection(&mut self) { |
| 105 | if self.selection_anchor.is_none() { |
| 106 | self.selection_anchor = Some(self.cursor); |
| 107 | } |
| 108 | } |
| 109 | |
| 110 | pub fn cancel_selection(&mut self) { |
| 111 | self.selection_anchor = None; |
no outgoing calls