QScintilla/SearchReplaceWidget.py

branch
5_1_x
changeset 1528
a779be4e8558
parent 1510
e75ecf2bd9dd
child 1531
1a9af8b10745
equal deleted inserted replaced
1526:5193e77c2188 1528:a779be4e8558
396 self.ui.findtextCombo.clear() 396 self.ui.findtextCombo.clear()
397 self.ui.findtextCombo.addItems(self.findHistory) 397 self.ui.findtextCombo.addItems(self.findHistory)
398 self.ui.findtextCombo.setEditText(text) 398 self.ui.findtextCombo.setEditText(text)
399 self.ui.findtextCombo.lineEdit().selectAll() 399 self.ui.findtextCombo.lineEdit().selectAll()
400 self.ui.findtextCombo.setFocus() 400 self.ui.findtextCombo.setFocus()
401 self.on_findtextCombo_editTextChanged(text)
401 402
402 self.ui.caseCheckBox.setChecked(False) 403 self.ui.caseCheckBox.setChecked(False)
403 self.ui.wordCheckBox.setChecked(False) 404 self.ui.wordCheckBox.setChecked(False)
404 self.ui.wrapCheckBox.setChecked(True) 405 self.ui.wrapCheckBox.setChecked(True)
405 self.ui.regexpCheckBox.setChecked(False) 406 self.ui.regexpCheckBox.setChecked(False)
570 self.ui.findtextCombo.clear() 571 self.ui.findtextCombo.clear()
571 self.ui.findtextCombo.addItems(self.findHistory) 572 self.ui.findtextCombo.addItems(self.findHistory)
572 self.ui.findtextCombo.setEditText(text) 573 self.ui.findtextCombo.setEditText(text)
573 self.ui.findtextCombo.lineEdit().selectAll() 574 self.ui.findtextCombo.lineEdit().selectAll()
574 self.ui.findtextCombo.setFocus() 575 self.ui.findtextCombo.setFocus()
576 self.on_findtextCombo_editTextChanged(text)
575 577
576 self.ui.replacetextCombo.clear() 578 self.ui.replacetextCombo.clear()
577 self.ui.replacetextCombo.addItems(self.replaceHistory) 579 self.ui.replacetextCombo.addItems(self.replaceHistory)
578 self.ui.replacetextCombo.setEditText('') 580 self.ui.replacetextCombo.setEditText('')
579 581

eric ide

mercurial