Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Maurer <uwog@uwog.net>2007-11-27 20:32:06 (GMT)
committer Marc Maurer <uwog@uwog.net>2007-11-27 20:32:06 (GMT)
commitb35ef1b83c2384bb0406f62fa93553a34bbc32cf (patch)
tree390a9f892f15715f516ad1d03e71fad9bc4ca609
parent9e06f3d28430500df91be20e2f36840771f3fc07 (diff)
Fix 4861: Incremental find cycles through words while typing (uwog)
-rw-r--r--NEWS2
-rw-r--r--toolbar.py6
2 files changed, 5 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 9643aef..7a723f6 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+* Fix 4861: Incremental find cycles through words while typing (uwog)
+
53
* Use 'instance' instead of 'data' as a path prefix; part of 4850 (uwog)
diff --git a/toolbar.py b/toolbar.py
index 955b54f..ca8106c 100644
--- a/toolbar.py
+++ b/toolbar.py
@@ -170,7 +170,7 @@ class WriteEditToolbar(EditToolbar):
# find the next entry
id = self._text_toolbar.get_text_selected_handler();
self._abiword_canvas.handler_block(id)
- self._abiword_canvas.find_next()
+ self._abiword_canvas.find_next(False)
self._abiword_canvas.handler_unblock(id)
def _search_entry_changed_cb(self, entry):
@@ -192,7 +192,7 @@ class WriteEditToolbar(EditToolbar):
# immediately start seaching
id = self._text_toolbar.get_text_selected_handler();
self._abiword_canvas.handler_block(id)
- self._abiword_canvas.find_next()
+ self._abiword_canvas.find_next(True)
self._abiword_canvas.handler_unblock(id)
def _findprev_cb(self, button):
@@ -210,7 +210,7 @@ class WriteEditToolbar(EditToolbar):
if self._search_entry.props.text:
id = self._text_toolbar.get_text_selected_handler();
self._abiword_canvas.handler_block(id)
- self._abiword_canvas.find_next()
+ self._abiword_canvas.find_next(False)
self._abiword_canvas.handler_unblock(id)
else:
logger.debug('nothing to search for!')