Changeset 2518
- Timestamp:
- 11/20/08 09:06:11 (7 weeks ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
. (modified) (4 props)
-
source/speech.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property bzr:revision-info
-
old new 1 timestamp: 2008-11-20 14:40:18.513999939 +10002 committer: James Teh <jamie@jantrid.net>1 timestamp: 2008-11-20 20:04:51.733999968 +1100 2 committer: Michael Curran <mick@kulgan.net> 3 3 properties: 4 4 branch-nick: main
-
- Property bzr:revision-id:v3-list-QlpoOTFBWSZTWbrL2vUAAB1VgAAQABCAQDrrnqAgAFCgaaGRkxBoTIJ6mmaNRwhndFAoNhZjh_YY4a01fOg1ulgNNC2UrzPdXXEnDpX8XckU4UJC6y9r1A..
-
old new 287 287 2315 jamie@jantrid.net-20081119143202-ybvjifczhpjl9ldo 288 288 2316 jamie@jantrid.net-20081120044018-ubawgup09fsqgp0i 289 2317 mick@kulgan.net-20081120090451-65o7yltx25z0k1i9
-
- Property bzr:file-ids
-
old new 1 source/api.py 46@dbe06fc7-9119-0410-a01d-9dbf589ecbba:trunk:source%2Fapi.py 2 source/braille.py braille.py-20080908070240-tjwqjsv7drp1kt8c-1 1 source/speech.py 503@dbe06fc7-9119-0410-a01d-9dbf589ecbba:trunk:source%2Fspeech.py
-
- Property bzr:text-parents
-
old new 1 source/api.py jamie@jantrid.net-20081111000130-ogbjmubm7hbp2w8b 2 source/braille.py mick@kulgan.net-20081117132147-0s0gw63lue1v5xar 1 source/speech.py jamie@jantrid.net-20081118073309-8zv0dy0iepb9yo3v
-
- Property bzr:revision-info
-
trunk/source/speech.py
r2510 r2518 31 31 beenCanceled=True 32 32 isPaused=False 33 typedWord="" 33 curWordChars=[] 34 34 REASON_FOCUS=1 35 35 REASON_MOUSE=2 … … 271 271 @type index: int 272 272 """ 273 global beenCanceled 273 global beenCanceled, curWordChars 274 curWordChars=[] 274 275 if speechMode==speechMode_off: 275 276 return … … 354 355 355 356 def speakTypedCharacters(ch): 356 global typedWord357 global curWordChars; 357 358 if api.isTypingProtected(): 358 ch="*" 359 realChar="*" 360 else: 361 realChar=ch 362 if ch.isalnum(): 363 curWordChars.append(realChar) 364 elif len(curWordChars)>0: 365 typedWord="".join(curWordChars) 366 curWordChars=[] 367 if log.isEnabledFor(log.IO): 368 log.io("typed word: %s"%typedWord) 369 if config.conf["keyboard"]["speakTypedWords"]: 370 speakText(typedWord) 359 371 if config.conf["keyboard"]["speakTypedCharacters"] and ord(ch)>=32: 360 speakSpelling(ch) 361 if config.conf["keyboard"]["speakTypedWords"]: 362 if ch.isalnum(): 363 typedWord="".join([typedWord,ch]) 364 elif len(typedWord)>0: 365 speakText(typedWord) 366 if log.isEnabledFor(log.IO): log.io("typedword: %s"%typedWord) 367 typedWord="" 368 else: 369 typedWord="" 372 speakSpelling(realChar) 370 373 371 374 silentRolesOnFocus=set([

NVDA is supported by