2 new commits in clipContentsDesigner:
https://bitbucket.org/nvdaaddonteam/clipcontentsdesigner/commits/09c712d4de43/
Changeset: 09c712d4de43
Branch: None
User: norrumar
Date: 2015-06-05 20:19:55+00:00
Summary: Use single line to separate strings if no separator is set
Affected #: 1 file
diff --git a/addon/globalPlugins/clipContentsDesigner/__init__.py
b/addon/globalPlugins/clipContentsDesigner/__init__.py
index 606c05b..5044b31 100644
--- a/addon/globalPlugins/clipContentsDesigner/__init__.py
+++ b/addon/globalPlugins/clipContentsDesigner/__init__.py
@@ -2,8 +2,11 @@
# clipContentsDesigner: a global plugin for managing clipboard text
# Version: 3.0
+# Just use a single new line to separate appended strings when no separator is
set, suggested by Bhavya
+# Date: 05/06/2015
# Braille representation for math can be appended to the clipboard
# Date: 03/06/2015
+
# Version: 2.0
# Hindi characters can be writen as a separator
# Date: 27/02/2015
@@ -78,7 +81,14 @@ class GlobalPlugin(globalPluginHandler.GlobalPlugin):
gui.mainFrame.sysTrayIcon.Bind(wx.EVT_MENU, self.onSettings,
self.settingsItem)
self._copyStartMarker = None
- self.bookmark = "\r\n%s\r\n" %
conf["separator"]["bookmarkSeparator"]
+ self.bookmark = self.getBookmark()
+
+ def getBookmark(self):
+ if conf["separator"]["bookmarkSeparator"] == "":
+ bookmark = "\r\n"
+ else:
+ bookmark = "\r\n%s\r\n" %
conf["separator"]["bookmarkSeparator"]
+ return bookmark
def terminate(self):
try:
@@ -100,7 +110,7 @@ class GlobalPlugin(globalPluginHandler.GlobalPlugin):
gui.mainFrame.postPopup()
if result == wx.ID_OK:
conf["separator"]["bookmarkSeparator"] = d.GetValue()
- self.bookmark = "\r\n%s\r\n" %
conf["separator"]["bookmarkSeparator"]
+ self.bookmark = self.getBookmark()
try:
conf.validate(val, copy=True)
conf.write()
https://bitbucket.org/nvdaaddonteam/clipcontentsdesigner/commits/3c8069a019dc/
Changeset: 3c8069a019dc
Branch: master
User: norrumar
Date: 2015-06-05 20:26:09+00:00
Summary: Updated readme: single line used when no separator is set.
Affected #: 1 file
diff --git a/readme.md b/readme.md
index a3d8389..b585822 100644
--- a/readme.md
+++ b/readme.md
@@ -19,6 +19,7 @@ Note: The above commands can be changed from NVDA menu,
Preferences submenu, Inp
## Changes for 3.0 ##
* Braille representation of MathML objects can be appended to the clipboard
if MathPlayer is installed.
+* If no separator is set, just a single line will be placed between the
appended text segments.
## Changes for 2.0 ##
* Hindi characters can be used as the separator between appended contents.
Repository URL: https://bitbucket.org/nvdaaddonteam/clipcontentsdesigner/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.