Changed the call to mouse click handlers in the editor to pass the calling editor as a parameter.

Sun, 28 Jun 2015 13:37:45 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 28 Jun 2015 13:37:45 +0200
changeset 4302
748f4945462b
parent 4301
f1d1fe1fa971
child 4303
57b5de82ce05

Changed the call to mouse click handlers in the editor to pass the calling editor as a parameter.

QScintilla/Editor.py file | annotate | diff | comparison | revisions
--- a/QScintilla/Editor.py	Sat Jun 27 11:07:21 2015 +0200
+++ b/QScintilla/Editor.py	Sun Jun 28 13:37:45 2015 +0200
@@ -7591,7 +7591,7 @@
             Preferences.getEditor("MouseClickHandlersEnabled") and \
                 key in self.__mouseClickHandlers:
             evt.accept()
-            self.__mouseClickHandlers[key][1]()
+            self.__mouseClickHandlers[key][1](self)
     
     def setMouseClickHandler(self, name, modifiers, button, function):
         """

eric ide

mercurial