diff -r 2add429042ef -r d63640116aec Plugins/PluginWizardQRegExp.py --- a/Plugins/PluginWizardQRegExp.py Sun Feb 14 14:16:29 2010 +0000 +++ b/Plugins/PluginWizardQRegExp.py Sun Feb 14 15:46:41 2010 +0000 @@ -100,7 +100,7 @@ dlg = QRegExpWizardDialog(None, True) if dlg.exec_() == QDialog.Accepted: line, index = editor.getCursorPosition() - indLevel = editor.indentation(line)/editor.indentationWidth() + indLevel = editor.indentation(line) // editor.indentationWidth() if editor.indentationsUseTabs(): indString = '\t' else: @@ -126,4 +126,4 @@ # It should be done on this way to allow undo editor.beginUndoAction() editor.insertAt(code, line, index) - editor.endUndoAction() \ No newline at end of file + editor.endUndoAction()