--- 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)