QScintilla/Shell.py

changeset 1743
4f9afcd8eb9d
parent 1588
dccffd13be8d
child 1833
f7cd855680f1
diff -r ecde46558a10 -r 4f9afcd8eb9d QScintilla/Shell.py
--- a/QScintilla/Shell.py	Mon Mar 26 19:40:16 2012 +0200
+++ b/QScintilla/Shell.py	Sat Mar 31 12:08:28 2012 +0200
@@ -590,7 +590,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