summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLászló Németh <nemeth@numbertext.org>2012-02-04 22:52:24 +0100
committerLászló Németh <nemeth@numbertext.org>2012-02-04 22:52:24 +0100
commit1e9fce20ad8656e0b8f3d776da7ec4f1c73364a6 (patch)
tree3e3c36dce8808b6ff50edffc8fcd00d1ceeacb3d
parent1a46fc1103856acae202f047528d1bbd837220e4 (diff)
Small fix of suggestion formatting
-rw-r--r--ChangeLog3
-rw-r--r--NEWS3
-rw-r--r--VERSION2
-rw-r--r--pythonpath/lightproof_impl___implname__.py4
4 files changed, 9 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 8c9392f..9895dd8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2012-02-04 László Németh <nemeth@numbertext.org>:
+ - fix multiple suggestions, the problem reported by Yakov Reztsov
+
2012-02-02 László Németh <nemeth@numbertext.org>:
- Lightproof editor (rule development extension for LibreOffice)
- use template and config system, based on
diff --git a/NEWS b/NEWS
index 18aa726..3099ed3 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+2012-02-04: Version 1.5 beta 3
+- bug fix in suggestion formatting
+
2012-02-02: Version 1.5 beta 2
- rule editor (Writer extension)
- code cleanups, only Python dependency in config system
diff --git a/VERSION b/VERSION
index 1a71718..b62c095 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.5b2
+1.5b3
diff --git a/pythonpath/lightproof_impl___implname__.py b/pythonpath/lightproof_impl___implname__.py
index 2344a77..e18d9dd 100644
--- a/pythonpath/lightproof_impl___implname__.py
+++ b/pythonpath/lightproof_impl___implname__.py
@@ -161,9 +161,9 @@ def proofread( nDocId, TEXT, LOCALE, nStartOfSentencePos, nSuggestedSentenceEndP
aErr.aRuleIdentifier = str(i[0])
iscap = (i[-1] and m.group(0)[0:1].isupper())
if i[1][0:1] == "=":
- aErr.aSuggestions = tuple(cap(eval(i[1][1:]).split("\\n"), iscap, LOCALE))
+ aErr.aSuggestions = tuple(cap(eval(i[1][1:]).split("\n"), iscap, LOCALE))
else:
- aErr.aSuggestions = tuple(cap(m.expand(i[1]).split("\\n"), iscap, LOCALE))
+ aErr.aSuggestions = tuple(cap(m.expand(i[1]).split("\n"), iscap, LOCALE))
comment = i[2]
if comment[0:1] == "=":
comment = eval(comment[1:])