Changeset 2332

Show
Ignore:
Timestamp:
08/05/08 04:51:15 (4 months ago)
Author:
mdcurran
Message:

mouseTextUnit in the [mouse] section of nvda.ini is now used when speaking text under the mouse as it moves. By default, like before it is still paragraph, but if you manually set it to character, word, line, or sentence in nvda.ini this will do as it says. There is not yet a way to change this option in NVDA's interface, perhaps after p2.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/source/NVDAObjects/__init__.py

    r2309 r2332  
    603603                try: 
    604604                        info=self.makeTextInfo(textHandler.Point(x,y)) 
    605                         info.expand(textHandler.UNIT_PARAGRAPH) 
     605                        info.expand(config.conf["mouse"]["mouseTextUnit"]) 
    606606                except: 
    607607                        info=self.makeTextInfo(textHandler.POSITION_ALL)