QScintilla/Terminal.py

changeset 1588
dccffd13be8d
parent 1566
0cb791cc631a
child 1739
db21de268131
--- a/QScintilla/Terminal.py	Sun Jan 29 18:39:10 2012 +0100
+++ b/QScintilla/Terminal.py	Mon Jan 30 18:53:11 2012 +0100
@@ -499,7 +499,7 @@
         @param evt reference to the wheel event (QWheelEvent)
         """
         if evt.modifiers() & Qt.ControlModifier:
-            if evt.delta()< 0:
+            if evt.delta() < 0:
                 self.zoomOut()
             else:
                 self.zoomIn()
@@ -543,6 +543,7 @@
                     pinch.setScaleFactor(3.0)
                 self.zoomTo(zoom)
             evt.accept()
+
     def editorCommand(self, cmd):
         """
         Public method to perform an editor command.

eric ide

mercurial