QScintilla/Terminal.py

branch
5_2_x
changeset 1744
a297b2f21fd3
parent 1742
c34ac31c84aa
child 2303
0ed4ed026c16
--- a/QScintilla/Terminal.py	Mon Mar 26 19:38:22 2012 +0200
+++ b/QScintilla/Terminal.py	Sat Mar 31 12:08:28 2012 +0200
@@ -429,7 +429,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