QScintilla/SearchReplaceWidget.py

changeset 1120
5c90fd188a24
parent 1112
8a7d1b9d18db
child 1131
7781e396c903
equal deleted inserted replaced
1118:2ff50209a57f 1120:5c90fd188a24
261 self.ui.caseCheckBox.isChecked(), 261 self.ui.caseCheckBox.isChecked(),
262 self.ui.wordCheckBox.isChecked(), 262 self.ui.wordCheckBox.isChecked(),
263 lineFrom, indexFrom, lineTo, indexTo) 263 lineFrom, indexFrom, lineTo, indexTo)
264 while ok: 264 while ok:
265 tgtPos, tgtLen = aw.getFoundTarget() 265 tgtPos, tgtLen = aw.getFoundTarget()
266 if tgtLen == 0:
267 break
266 aw.setSearchIndicator(tgtPos, tgtLen) 268 aw.setSearchIndicator(tgtPos, tgtLen)
267 ok = aw.findNextTarget() 269 ok = aw.findNextTarget()
268 270
269 def __findNextPrev(self, txt, backwards): 271 def __findNextPrev(self, txt, backwards):
270 """ 272 """

eric ide

mercurial