QScintilla/SearchReplaceWidget.py

branch
5_3_x
changeset 2651
93439c60fe45
parent 2302
f29e9405c851
child 2667
3e741f0db4da
--- a/QScintilla/SearchReplaceWidget.py	Mon May 06 19:58:43 2013 +0200
+++ b/QScintilla/SearchReplaceWidget.py	Wed May 08 18:34:20 2013 +0200
@@ -449,7 +449,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