Plugins/WizardPlugins/PyRegExpWizard/PyRegExpWizardDialog.py

changeset 6188
5a6ae3be31e6
parent 6048
82ad8ec9548c
child 6645
ad476851d7e0
equal deleted inserted replaced
6187:2cc7e3629784 6188:5a6ae3be31e6
125 if steps < 0: 125 if steps < 0:
126 act = QTextCursor.Left 126 act = QTextCursor.Left
127 steps = abs(steps) 127 steps = abs(steps)
128 else: 128 else:
129 act = QTextCursor.Right 129 act = QTextCursor.Right
130 for i in range(steps): 130 for _ in range(steps):
131 tc.movePosition(act) 131 tc.movePosition(act)
132 self.regexpTextEdit.setTextCursor(tc) 132 self.regexpTextEdit.setTextCursor(tc)
133 133
134 @pyqtSlot() 134 @pyqtSlot()
135 def on_commentButton_clicked(self): 135 def on_commentButton_clicked(self):

eric ide

mercurial