2 new commits in placeMarkers: https://bitbucket.org/nvdaaddonteam/placemarkers/commits/f73a2e30c2e3/ Changeset: f73a2e30c2e3 Branch: None User: norrumar Date: 2014-03-13 19:03:36 Summary: Updated placeMarkers.py, according to enhanced skim reading for NVDA 2014.1. Affected #: 1 file diff --git a/addon/globalPlugins/placeMarkers.py b/addon/globalPlugins/placeMarkers.py index 5683a48..184e6ed 100755 --- a/addon/globalPlugins/placeMarkers.py +++ b/addon/globalPlugins/placeMarkers.py @@ -1,4 +1,6 @@ # -*- coding: UTF-8 -*- +# Support for enhanced skim reading in version 2014.1. +# Date: 13/03/2014 # Support for skim reading. # Date: 28/10/2013 # Assigned script categories for input gestures @@ -39,6 +41,7 @@ import speech import cPickle import codecs import sayAllHandler +from scriptHandler import willSayAllResume from cursorManager import CursorManager from logHandler import log from gui.settingsDialogs import SettingsDialog @@ -521,11 +524,12 @@ class GlobalPlugin(globalPluginHandler.GlobalPlugin): if bookmark > count: end.move(textInfos.UNIT_CHARACTER, bookmark-count) obj.selection = end - end.move(textInfos.UNIT_LINE,1,endPoint="end") - speech.speakTextInfo(end,reason=controlTypes.REASON_CARET) - ui.message( - # Translators: message presented when a bookmark is selected. - _("Position: character %d") % bookmark) + if not willSayAllResume(gesture): + end.move(textInfos.UNIT_LINE,1,endPoint="end") + speech.speakTextInfo(end,reason=controlTypes.REASON_CARET) + ui.message( + # Translators: message presented when a bookmark is selected. + _("Position: character %d") % bookmark) return ui.message( # Translators: message presented when the next bookmark is not found. @@ -562,11 +566,12 @@ class GlobalPlugin(globalPluginHandler.GlobalPlugin): if bookmark < count: end.move(textInfos.UNIT_CHARACTER, bookmark-count) obj.selection = end - end.move(textInfos.UNIT_LINE,1,endPoint="end") - speech.speakTextInfo(end,reason=controlTypes.REASON_CARET) - ui.message( - # Translators: message presented when a bookmark is selected. - _("Position: character %d") % bookmark) + if not willSayAllResume(gesture): + end.move(textInfos.UNIT_LINE,1,endPoint="end") + speech.speakTextInfo(end,reason=controlTypes.REASON_CARET) + ui.message( + # Translators: message presented when a bookmark is selected. + _("Position: character %d") % bookmark) return ui.message( # Translators: message presented when the previous bookmark is not found. https://bitbucket.org/nvdaaddonteam/placemarkers/commits/65d288138462/ Changeset: 65d288138462 Branch: master User: norrumar Date: 2014-03-13 19:06:11 Summary: Updated readme: added last changes. Affected #: 1 file diff --git a/readme.md b/readme.md index 885c458..13371a2 100644 --- a/readme.md +++ b/readme.md @@ -34,6 +34,7 @@ Note: The bookmark position is based on the number of characters; and therefore ## Changes for 3.1 ## * Translation updates and new language. +* Bookmark position is not announced in skim reading. ## Changes for 3.0 ## * Added support for skim reading. Repository URL: https://bitbucket.org/nvdaaddonteam/placemarkers/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.