QScintilla/EditorAssembly.py

changeset 1474
1eaec11a0078
parent 1439
953d3f95ee4d
child 1509
c0b5e693b0eb
--- a/QScintilla/EditorAssembly.py	Sun Nov 27 19:38:09 2011 +0100
+++ b/QScintilla/EditorAssembly.py	Mon Nov 28 20:03:49 2011 +0100
@@ -90,7 +90,7 @@
         if lineno is not None:
             txt = self.__editor.text(lineno - 1).rstrip()
             pos = len(txt.replace(txt.strip(), ""))
-            self.__editor.gotoLine(lineno, pos if pos == 0 else pos +1)
+            self.__editor.gotoLine(lineno, pos if pos == 0 else pos + 1)
             self.__editor.setFocus()
             
             # step 2: populate the members combo, if the entry is a class
@@ -147,7 +147,7 @@
         if lineno is not None:
             txt = self.__editor.text(lineno - 1).rstrip()
             pos = len(txt.replace(txt.strip(), ""))
-            self.__editor.gotoLine(lineno, pos if pos == 0 else pos +1)
+            self.__editor.gotoLine(lineno, pos if pos == 0 else pos + 1)
             self.__editor.setFocus()
     
     def __resetParseTimer(self):

eric ide

mercurial