<div dir="ltr"><div><div><div><div><div><div><div><div><div><div>Hello together,<br><br></div>we use QScintilla 2.8.4 with the Python lexer. Auto-completion and calltips are enabled. Let's say we have the following function:<br><br></div>itom.ui.msgInformation(title, text)<br><br></div>I start writing "itom.ui.msgInformation", then the auto-completion appears, all fine. Then I type the opening bracket ( character, but no calltip is shown. When I go on writing the first argument followed by a comma, the calltip appears.<br><br></div>Sometimes, the calltip already appears for the first argument, mainly by the backspace character followed by a braket or comma.<br><br></div>The main problem seems to be in QsciAPIs::callTips. The incoming context string list has an empty element as last element (this has been added before). the function <b>positionOrigin</b> internally has different states. One times, the by-ref variable <b>path </b>contains<b> itom.ui.msgInformation</b>, sometimes it contains <b>itom.ui.msgInformation.</b> (with the trailing separator character). This seems to be the error, since the line <br><br>path.append('(') <br><br></div>appends the left bracket, which yields either itom.ui.msgInformation.( or itom.ui.msgInformation(. In the first case, no api is found, in the latter case it is found.<br><br></div>As a workaround, it would remove the separator character at the end of the variable <b>path</b>. But maybe this bug is caused by anything else. Does anybody have the same behaviour or is this bug already considered somewhere else?<br><br></div>Thanks for any remarks. I hope one can understand what I tried to describe.<br><br></div>Best regards,<br><br></div>Marc<br clear="all"><div><div><div><div><div><div><div><div><div><div><div><div><div><br><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div>