QScintilla/SearchReplaceWidget.py

changeset 2650
1b495c651868
parent 2409
df3820f08247
child 2660
5b834d76f617
--- a/QScintilla/SearchReplaceWidget.py	Mon May 06 19:58:43 2013 +0200
+++ b/QScintilla/SearchReplaceWidget.py	Wed May 08 18:34:20 2013 +0200
@@ -454,7 +454,7 @@
         @param editor reference to the editor (Editor)
         """
         if not self.__finding:
-            if editor.hasSelectedText():
+            if editor.hasSelectedText() and not editor.selectionIsRectangle():
                 line1, index1, line2, index2 = editor.getSelection()
                 if line1 != line2:
                     self.ui.selectionCheckBox.setEnabled(True)

eric ide

mercurial