QScintilla/Shell.py

branch
5_2_x
changeset 1744
a297b2f21fd3
parent 1589
9f0fef4a4fbe
child 2011
2f37498455c9
--- a/QScintilla/Shell.py	Mon Mar 26 19:38:22 2012 +0200
+++ b/QScintilla/Shell.py	Sat Mar 31 12:08:28 2012 +0200
@@ -586,7 +586,7 @@
         @return tuple of two values (int, int) giving the line and column
         """
         line = self.lines() - 1
-        return (line, self.lineLength(line))
+        return (line, len(self.text(line)))
         
     def __write(self, s):
         """

eric ide

mercurial