eric7/QScintilla/Editor.py

branch
eric7
changeset 8607
80dd37c65e91
parent 8581
a6c893c8b7af
child 8637
394377638256
equal deleted inserted replaced
8606:dd9bf9841c50 8607:80dd37c65e91
8920 @param index column of mouse cursor position 8920 @param index column of mouse cursor position
8921 @type int 8921 @type int
8922 @param data information text to be shown 8922 @param data information text to be shown
8923 @type str 8923 @type str
8924 """ 8924 """
8925 if data: 8925 if data and self.hasFocus() and not self.isListActive():
8926 pos = self.positionFromLineIndex(line, index) 8926 pos = self.positionFromLineIndex(line, index)
8927 self.SendScintilla(QsciScintilla.SCI_CALLTIPSHOW, 8927 self.SendScintilla(QsciScintilla.SCI_CALLTIPSHOW,
8928 pos, self._encodeString(data)) 8928 pos, self._encodeString(data))
8929 self.__showingMouseHoverHelp = True 8929 self.__showingMouseHoverHelp = True
8930 else: 8930 else:

eric ide

mercurial