eric7/QScintilla/QsciScintillaCompat.py

branch
eric7
changeset 8716
7bd161e50995
parent 8713
c2a124c2ecbb
child 8881
54e42bc2437a
--- a/eric7/QScintilla/QsciScintillaCompat.py	Sat Oct 23 18:58:16 2021 +0200
+++ b/eric7/QScintilla/QsciScintillaCompat.py	Sun Oct 24 18:09:44 2021 +0200
@@ -1695,8 +1695,7 @@
             @return tuple containing the line number and index number
             @rtype tuple of (int, int)
             """
-            pos = self.SendScintilla(QsciScintilla.SCI_POSITIONFROMPOINT,
-                                     point.x(), point.y())
+            pos = self.positionFromPoint(point)
             return self.lineIndexFromPosition(pos)
     
 ##    #########################################################################

eric ide

mercurial