nvda
fd2b84e5 - Allow scripts to request that sayAll should be restarted after they execute, via an optional script property: resumeSayAllMode, which should be set to one of the sayAll modes (CURSOR_CARET or CURSOR_REVIEW).

Commit
12 years ago
Allow scripts to request that sayAll should be restarted after they execute, via an optional script property: resumeSayAllMode, which should be set to one of the sayAll modes (CURSOR_CARET or CURSOR_REVIEW). * inputCore: Gestures now contain a 'wasInSayAll' property which is set to true if this gesture should be considered as having been executed while in sayAll. All gestures still cause sayAll to stop, but this allows communication that sayAll was running, back to scriptHandler. Modifiers are handled specifically so that sayAll is tracked via modifiers all the way up to a regular (non-modifier) gesture. * keyboardHandler keyUp event function: ensure that inputCore forgets about sayAll if there are no modifier keys held down at all. This is currently needed as inputCore does not have any concept of gesture releases. * config: add an 'allowSkimReadingInSayAll' boolean setting to the keyboard section of the config. * scriptHandler.executeScript: if the gesture was in sayAll, and the current script's resumeSayall mode agrees with sayAllhandlers last sayAll mode, and the user has confiered NVDA to handle skim reading in sayAll, then temporarily turn off speech while the script executes, and then restart the last sayAll mode.
Committer
Parents
Loading