Plugins/PluginWizardQFontDialog.py

changeset 117
d63640116aec
parent 55
b5c84934de9c
child 398
5b5636320dca
child 792
a13346916170
--- a/Plugins/PluginWizardQFontDialog.py	Sun Feb 14 14:16:29 2010 +0000
+++ b/Plugins/PluginWizardQFontDialog.py	Sun Feb 14 15:46:41 2010 +0000
@@ -100,7 +100,7 @@
         dlg = FontDialogWizardDialog(None)
         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()

eric ide

mercurial