QScintilla/EditorAssembly.py

changeset 1897
4c89af5a756f
parent 1807
9898a95461f1
child 2302
f29e9405c851
diff -r a7096cf751db -r 4c89af5a756f QScintilla/EditorAssembly.py
--- a/QScintilla/EditorAssembly.py	Tue Jun 12 19:01:14 2012 +0200
+++ b/QScintilla/EditorAssembly.py	Wed Jun 13 19:27:35 2012 +0200
@@ -97,7 +97,7 @@
             if moveCursor:
                 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, True)
                 self.__editor.setFocus()
             
             # step 2: populate the members combo, if the entry is a class
@@ -176,7 +176,7 @@
         if lineno is not None and moveCursor:
             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, True)
             self.__editor.setFocus()
     
     def __resetParseTimer(self):

eric ide

mercurial