commit/placeMarkers: 3 new changesets

  • From: commits-noreply@xxxxxxxxxxxxx
  • To: nvda-addons-commits@xxxxxxxxxxxxx
  • Date: Sun, 06 Nov 2016 12:12:09 -0000

3 new commits in placeMarkers:

https://bitbucket.org/nvdaaddonteam/placemarkers/commits/90326b4ba21a/
Changeset:   90326b4ba21a
Branch:      None
User:        norrumar
Date:        2016-11-06 11:46:44+00:00
Summary:     Fixed name of function: standardFileName instead of 
standarFileName.

Affected #:  1 file

diff --git a/addon/globalPlugins/placeMarkers/__init__.py 
b/addon/globalPlugins/placeMarkers/__init__.py
index d18b93d..703adcf 100644
--- a/addon/globalPlugins/placeMarkers/__init__.py
+++ b/addon/globalPlugins/placeMarkers/__init__.py
@@ -107,7 +107,7 @@ def doFindText(text, reverse=False, caseSensitive=False):
 def doFindTextUp(text, caseSensitive=False):
        doFindText(text, reverse=True, caseSensitive=caseSensitive)
 
-def standarFileName(fileName):
+def standardFileName(fileName):
        fileName.encode("mbcs")
        notAllowed = re.compile("\?|:|\*|\t|<|>|\"|\/|\\||") # Invalid 
characters
        allowed = re.sub(notAllowed, "", unicode(fileName))
@@ -128,7 +128,7 @@ def getFile(folder, ext=""):
        file = file.rsplit(" - ", 1)[0]
        file = file.split("\\")[-1]
        file += nameToAdd
-       file = standarFileName(file)
+       file = standardFileName(file)
        folderPath = os.path.join(PLACE_MARKERS_PATH, folder)
        maxLenFileName = 232-len(folderPath)
        if maxLenFileName <= 0:


https://bitbucket.org/nvdaaddonteam/placemarkers/commits/dc50bc51b0d1/
Changeset:   dc50bc51b0d1
Branch:      None
User:        norrumar
Date:        2016-11-06 11:53:26+00:00
Summary:     Fixed grammar error in messages of the global plugin, suggested by 
Derek Riemer.

Affected #:  1 file

diff --git a/addon/globalPlugins/placeMarkers/__init__.py 
b/addon/globalPlugins/placeMarkers/__init__.py
index 703adcf..9fc6f1d 100644
--- a/addon/globalPlugins/placeMarkers/__init__.py
+++ b/addon/globalPlugins/placeMarkers/__init__.py
@@ -641,8 +641,8 @@ class GlobalPlugin(globalPluginHandler.GlobalPlugin):
                        end = obj.makeTextInfo(textInfos.POSITION_CARET)
                except (NotImplementedError, RuntimeError):
                        ui.message(
-                               # Translators: message presented when cannot 
find any bookmark.
-                               _("Cannot find any bookmark"))
+                               # Translators: message presented when cannot 
find any bookmarks.
+                               _("Cannot find any bookmarks"))
                        return
                start.setEndPoint(end, "endToStart")
                count = len(start.text)
@@ -682,8 +682,8 @@ class GlobalPlugin(globalPluginHandler.GlobalPlugin):
                try:
                        end = obj.makeTextInfo(textInfos.POSITION_CARET)
                except (NotImplementedError, RuntimeError):
-                       # Translators: message presented when cannot find any 
bookmark.
-                       ui.message(_("Cannot find any bookmark"))
+                       # Translators: message presented when cannot find any 
bookmarks.
+                       ui.message(_("Cannot find any bookmarks"))
                        return
                start.setEndPoint(end, "endToStart")
                count = len(start.text)


https://bitbucket.org/nvdaaddonteam/placemarkers/commits/0d528516a2da/
Changeset:   0d528516a2da
Branch:      7.0
User:        norrumar
Date:        2016-11-06 12:11:49+00:00
Summary:     Fixed linguistic bugs in readme and enhanced readability, as 
suggested by Derek Riemer.

Affected #:  1 file

diff --git a/readme.md b/readme.md
index d3b6291..cdacd40 100644
--- a/readme.md
+++ b/readme.md
@@ -4,37 +4,36 @@
 * download [stable version][1]
 * download [development version][2]
 
-This addon is used for saving and searching specific text strings or 
bookmarks, on web pages or documents in NVDA's browse mode. It can also be used 
for saving or searching strings of text in multi-line controls; in this case, 
if it's not possible to update the caret, the corresponding string will be 
copied to the clipboard, so that it can be searched using other tools.
-The plugin saves the specified strings and bookmarks to text and pickle files. 
The name of these files is based on the title and URL of the current document.
-
+This addon is used for saving and searching specific text strings or 
bookmarks. It can be used  on web pages or documents in NVDA's browse mode. It 
can also be used for saving or searching strings of text in multi-line 
controls; in this case, if it's not possible to update the caret, the 
corresponding string will be copied to the clipboard, so that it can be 
searched using other tools.
+The plugin saves the specified strings and bookmarks to files whose name is 
based on the title and URL of the current document.
 This addon is based on SpecificSearch and Bookmark&Search, developed by the 
same author. You should uninstall them to use this one, since they have common 
keystrokes and features.
 
 ## Key Commands: ##
 
-*      control+shift+NVDA+f: Opens a dialog with an edit box that shows the 
last saved search; in this dialog you can also select the previously saved 
searches from a combo box (with the possibility of removing the selected string 
from the history using a checkbox), choose if the text contained in the edit 
box will be added to the history of saved texts, choose an action from the next 
group of radio buttons (between Search next, Search previous or Don't search), 
and specify if NVDA will make a case sensitive search.
+*      control+shift+NVDA+f: Opens a dialog with an edit box that shows the 
last saved search; in this dialog you can also select the previously saved 
searches from a combo box or remove the selected string from the history using 
a checkbox. You can choose if the text contained in the edit box will be added 
to the history of your saved texts. Finally, choose an action from the next 
group of radio buttons (between Search next, Search previous or Don't search), 
and specify if NVDA will make a case sensitive search. When you press okay, 
NVDA will search for this string.
 *      control+shift+NVDA+k: Saves the current position as a bookmark.
 *      control+shift+NVDA+delete: Deletes the bookmark corresponding to this 
position.
 *      NVDA+k: Moves to the next bookmark.
 *      shift+NVDA+k: Moves to the previous bookmark.
-*      control+shift+k: Copies to clipboard the file name, without extension, 
where the place markers data will be saved.
+*      control+shift+k: Copies the file name where the place markers data will 
be saved to the clipboard, without an extension.
 
 
 ## Place markers Submenu (NVDA+N) ##
 
-Using Place markers submenu, under Preferences menu, you can access:
+Using the Place markers submenu under NVDA's Preferences menu, you can access:
 
 *      Specific search folder: opens a folder of specific searches previously 
saved.
 *      Bookmarks folder: Opens a folder of the saved bookmarks.
 *      Copy placeMarkers folder: You can save a copy of the bookmarks folder.
 *      Restore placeMarkers: You can restore your bookmarks from a previously 
saved placeMarkers folder.
 
-Note: The bookmark position is based on the number of characters; and 
therefore in pages with a dynamic content is better to use the specific search, 
and not the bookmarks which save a precise position.
+Note: The bookmark position is based on the number of characters; and 
therefore in dynamic pages it is better to use the specific search, not 
bookmarks.
 
 ## Changes for 7.0 ##
 *      The dialog to save a string of text for specific search has been 
removed. This functionality is now included in the Specific search dialog, 
which has been redesigned to allow different actions when pressing the OK 
button.
-*      The visual presentation of the dialogs has been enhanced, according to 
the appearance of the dialogs shown in NVDA.
-*      Performing a Find Next or Find Previous command in Browse Mode will now 
correctly do a  case sensitive search if the original Find was case sensitive.
-*      Required NVDA 2016.4 or later.
+*      The visual presentation of the dialogs has been enhanced, adhering to 
the appearance of the dialogs shown in NVDA.
+*      Performing a Find Next or Find Previous command in Browse Mode will now 
correctly do a case sensitive search if the original Find was case sensitive.
+*      Requires NVDA 2016.4 or later.
 *      Now you can assign gestures to open the Copy and Restore place markers 
dialogs.
 *      NVDA will present a message to notify when place markers have been 
copied or restored with the corresponding dialogs.

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.

Other related posts: