Given a key code along with the modifier keys, the current node is moved accordingly (or value reported in some cases).] The spoken text for the new current node is returned.
(mathml: Element,
key: usize, shift_key: bool, control_key: bool, alt_key: bool, meta_key: bool)
| 313 | /// Given a key code along with the modifier keys, the current node is moved accordingly (or value reported in some cases).] |
| 314 | /// The spoken text for the new current node is returned. |
| 315 | pub fn do_mathml_navigate_key_press(mathml: Element, |
| 316 | key: usize, shift_key: bool, control_key: bool, alt_key: bool, meta_key: bool) -> Result<String> { |
| 317 | let (command, param) = key_press_to_command_and_param(key, shift_key, control_key, alt_key, meta_key)?; |
| 318 | return do_navigate_command_and_param(mathml, command, param); |
| 319 | } |
| 320 | |
| 321 | fn do_navigate_command_and_param(mathml: Element, command: NavigationCommand, param: NavigationParam) -> Result<String> { |
| 322 | return do_navigate_command_string(mathml, navigation_command_string(command, param)); |
no test coverage detected