<br>Hi All,<br> I've been trying to improve the behavior of auto complete in lua, to that end I overloaded autoCompletionWordSeparators as follows:<br><br>QStringList <br>myLexerLua::autoCompletionWordSeparators() const<br>
{ <br> QStringList auto_complete_list;<br> auto_complete_list.append(" ");<br> auto_complete_list.append("(");<br> auto_complete_list.append(")");<br> auto_complete_list.append("\"");<br>
auto_complete_list.append(":");<br> auto_complete_list.append("."); <br> auto_complete_list.append(",");<br> auto_complete_list.append(";");<br> return auto_complete_list;<br>
}<br><br>What I've noticed is that if my script looks like:<br><br> message<br> print( mess<br><br>mess is never autocompleted, I think "print( messages" is being combined when the code tries to get context. and instead of searching for mess it searching for the "print( messages," Is anyone else seeing this or might have a fix? I'm using 2.2<br>
<br>thanks<br>-gedalia<br>