Add scripts for MathCAT commands (#19871)
Fixes #19815
Summary of the issue:
MathCAT navigation commands were not being exposed as scripts on the MathCATInteraction class. As a result, no useful information could be retrieved for input help and on-demand speech mode was not being handled properly for math.
Description of user facing changes:
Two main user-facing changes:
Input help now works correctly for math.
On-demand speech mode is now supported. The following scripts now output speech in on-demand speech mode:
readPrevious
readNext
describePrevious
describeNext
whereAmI
whereAmIAll (global where am I)
readCurrent
readCellCurrent
describeCurrent
read0 - read9 (read placemarker 0-9)
describe0 - describe9 (describe placemarker 0-9)
Description of developer facing changes:
If MathCAT commands change in the future or if new ones are added, they should be added to the table in mathPres\MathCAT\navCommands.py.
Description of development approach:
Added a new file mathPres\MathCAT\navCommands.py that builds a table of navigation commands which is then imported by MathCAT.py and used to create scripts for each entry in the table.