QScintilla/Terminal.py

branch
5_2_x
changeset 1589
9f0fef4a4fbe
parent 1565
815eb7a39944
child 1742
c34ac31c84aa
--- a/QScintilla/Terminal.py	Sat Jan 28 11:36:56 2012 +0100
+++ b/QScintilla/Terminal.py	Mon Jan 30 18:53:47 2012 +0100
@@ -495,7 +495,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()
@@ -539,6 +539,7 @@
                     pinch.setScaleFactor(3.0)
                 self.zoomTo(zoom)
             evt.accept()
+
     def editorCommand(self, cmd):
         """
         Public method to perform an editor command.

eric ide

mercurial