eric6/Plugins/PluginWizardQRegularExpression.py

changeset 7759
51aa6c6b66f7
parent 7360
9190402e4505
child 7780
41420f82c0ac
equal deleted inserted replaced
7758:dd54d33d21d2 7759:51aa6c6b66f7
103 from WizardPlugins.QRegularExpressionWizard import ( 103 from WizardPlugins.QRegularExpressionWizard import (
104 QRegularExpressionWizardDialog 104 QRegularExpressionWizardDialog
105 ) 105 )
106 dlg = QRegularExpressionWizardDialog.QRegularExpressionWizardDialog( 106 dlg = QRegularExpressionWizardDialog.QRegularExpressionWizardDialog(
107 None, True) 107 None, True)
108 if dlg.exec_() == QDialog.Accepted: 108 if dlg.exec() == QDialog.Accepted:
109 line, index = editor.getCursorPosition() 109 line, index = editor.getCursorPosition()
110 indLevel = editor.indentation(line) // editor.indentationWidth() 110 indLevel = editor.indentation(line) // editor.indentationWidth()
111 if editor.indentationsUseTabs(): 111 if editor.indentationsUseTabs():
112 indString = '\t' 112 indString = '\t'
113 else: 113 else:

eric ide

mercurial