(&self)
| 597 | } |
| 598 | |
| 599 | fn Select(&self) -> Result<()> { |
| 600 | self.do_action(|range, tree| { |
| 601 | let (target_node, target_tree) = tree.state().locate_node(range.node().id()).unwrap(); |
| 602 | ActionRequest { |
| 603 | action: Action::SetTextSelection, |
| 604 | target_tree, |
| 605 | target_node, |
| 606 | data: Some(ActionData::SetTextSelection(range.to_text_selection())), |
| 607 | } |
| 608 | }) |
| 609 | } |
| 610 | |
| 611 | fn AddToSelection(&self) -> Result<()> { |
| 612 | // AccessKit doesn't support multiple text selections. |
nothing calls this directly
no test coverage detected