Show
Ignore:
Timestamp:
09/11/08 11:48:26 (4 months ago)
Author:
pvagner
Message:

* ITextDocumentTextInfo: Fixed a problem where NVDA was unable to move the review cursor to the bottom line. Added ability to detect strikedthrough font property.
* EditTextInfo? and ITextDocumentTextInfo: Introduced ability to identify links inside a richedit controls. Added _getPoint method which retrieves x and y coordinates for the current textInfo ofsset/range.
* script_moveMouseToNavigatorObject now makes use of the features listed above. When navigator object mouse is being moved to implements _getPoint in its textInfo, mouse is moved to the currently reviewed character. Otherwise mouse is moved into the center of the navigator object.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/source/speech.py

    r2369 r2377  
    738738                                text=_("align default") 
    739739                        textList.append(text) 
     740        if  formatConfig["reportLinks"]: 
     741                link=attrs.get("link") 
     742                oldLink=attrsCache.get("link") if attrsCache is not None else None 
     743                if (link or oldLink is not None) and link!=oldLink: 
     744                        text=_("link") if link else _("out of %s")%_("link") 
     745                        textList.append(text) 
    740746        if formatConfig["reportSpellingErrors"]: 
    741747                invalidSpelling=attrs.get("invalid-spelling")