OSDN Git Service

Speak punctuation keys in input help even when speak punctuation is disabled.
authorJames Teh <jamie@jantrid.net>
Thu, 14 Oct 2010 06:08:45 +0000 (16:08 +1000)
committerJames Teh <jamie@jantrid.net>
Thu, 14 Oct 2010 06:08:45 +0000 (16:08 +1000)
Fixes #977.

source/inputCore.py
user_docs/en/changes.t2t

index d664797..49e9b20 100644 (file)
@@ -157,7 +157,9 @@ class InputManager(baseObject.AutoPropertyObject):
                                        textList.append(desc)\r
 \r
                braille.handler.message("\t\t".join(textList))\r
-               for text in textList:\r
+               # Punctuation must be spoken for the gesture name (the first chunk) so that punctuation keys are spoken.\r
+               speech.speakText(textList[0], reason=speech.REASON_MESSAGE, expandPunctuation=True)\r
+               for text in textList[1:]:\r
                        speech.speakMessage(text)\r
 \r
                if runScript:\r
index b97e7d8..4ed7c03 100644 (file)
@@ -26,6 +26,7 @@
 - Position information is no longer reported in some cases where it was usually incorrect; e.g. most menus, the Running Applications bar, the Notification Area, etc.\r
 - On sliders in the Voice Settings dialog, up arrow/page up/home now increase the setting and down arrow/page down/end decrease it. Previously, the opposite occurred, which is not logical and is inconsistent with the synth settings ring. (#221)\r
 - If an NVDA modifier key is pressed twice quickly but there is an intervening key press, the NVDA modifier key is no longer passed through on the second press.\r
+- Punctuation keys are now spoken in input help even when speaking of punctuation is disabled. (#977)\r
 \r
 \r
 = 2010.2 =\r