QScintilla/Editor.py

branch
5_2_x
changeset 1589
9f0fef4a4fbe
parent 1565
815eb7a39944
child 1724
361b8dea9251
--- a/QScintilla/Editor.py	Sat Jan 28 11:36:56 2012 +0100
+++ b/QScintilla/Editor.py	Mon Jan 30 18:53:47 2012 +0100
@@ -2938,13 +2938,13 @@
             begline = line
             while begline > 0 and \
                   self.text(begline - 1).strip().startswith(commentStr):
-                begline -=  1
+                begline -= 1
             # determine the end of the comment block
             endline = line
             lines = self.lines()
             while endline < lines and \
                   self.text(endline + 1).strip().startswith(commentStr):
-                endline +=  1
+                endline += 1
             
             self.setSelection(begline, 0, endline, self.lineLength(endline))
             self.uncommentLineOrSelection()
@@ -5411,7 +5411,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()

eric ide

mercurial