QScintilla/Editor.py

changeset 3069
8a9579bbf583
parent 3067
8fd7ae10de2b
child 3080
6c0a430b19df
child 3087
fdbce259929f
--- a/QScintilla/Editor.py	Sat Nov 09 15:23:52 2013 +0100
+++ b/QScintilla/Editor.py	Sat Nov 09 17:46:01 2013 +0100
@@ -7027,6 +7027,7 @@
         
         @param forward flag indicating the search direction (boolean)
         """
+        self.hideFindIndicator()
         line, index = self.getCursorPosition()
         word = self.getCurrentWord()
         wordStart, wordEnd = self.getCurrentWordBoundaries()
@@ -7057,6 +7058,8 @@
                     match = matches[-1]
             line, index = self.lineIndexFromPosition(match.start())
             self.setSelection(line, index + len(match.group(0)), line, index)
+            self.showFindIndicator(line, index,
+                                   line, index + len(match.group(0)))
     
     #######################################################################
     ## Sort related methods

eric ide

mercurial