Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardDialog.py

changeset 6188
5a6ae3be31e6
parent 6048
82ad8ec9548c
child 6645
ad476851d7e0
equal deleted inserted replaced
6187:2cc7e3629784 6188:5a6ae3be31e6
197 if steps < 0: 197 if steps < 0:
198 act = QTextCursor.Left 198 act = QTextCursor.Left
199 steps = abs(steps) 199 steps = abs(steps)
200 else: 200 else:
201 act = QTextCursor.Right 201 act = QTextCursor.Right
202 for i in range(steps): 202 for _ in range(steps):
203 tc.movePosition(act) 203 tc.movePosition(act)
204 self.regexpTextEdit.setTextCursor(tc) 204 self.regexpTextEdit.setTextCursor(tc)
205 205
206 @pyqtSlot() 206 @pyqtSlot()
207 def on_commentButton_clicked(self): 207 def on_commentButton_clicked(self):

eric ide

mercurial