Editor: fine tuned the mouse hover help functionality. eric7

Tue, 14 Sep 2021 19:58:41 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 14 Sep 2021 19:58:41 +0200
branch
eric7
changeset 8607
80dd37c65e91
parent 8606
dd9bf9841c50
child 8608
4d4d2ec95dd4

Editor: fine tuned the mouse hover help functionality.

eric7/QScintilla/Editor.py file | annotate | diff | comparison | revisions
diff -r dd9bf9841c50 -r 80dd37c65e91 eric7/QScintilla/Editor.py
--- a/eric7/QScintilla/Editor.py	Tue Sep 14 19:30:12 2021 +0200
+++ b/eric7/QScintilla/Editor.py	Tue Sep 14 19:58:41 2021 +0200
@@ -8922,7 +8922,7 @@
         @param data information text to be shown
         @type str
         """
-        if data:
+        if data and self.hasFocus() and not self.isListActive():
             pos = self.positionFromLineIndex(line, index)
             self.SendScintilla(QsciScintilla.SCI_CALLTIPSHOW,
                                pos, self._encodeString(data))

eric ide

mercurial