ext Patric wrote:
> Hello,
> I'm not sure if this is documented.
> When you try to autocomplete a method which name is "test_on_this()", 
> when you type "test_on" and then add "-" and press ctrl+shift, the 
> result is "test_on-this". Which is not correct.

Since the "-" is not a valid character in an identifier, when you type 
"test_on-", and try to autocomplete, the engine doesn't even look beyond 
the minus (it goes from the cursor backwards to find the expression, but 
the expression is empty in this case).

That it completes "this" is simply because "this" is a C++ keyword, 
which are always included in the completion.

Regards,
Bjørn

-- 
Thorbjørn Lindeijer
Software Engineer
Nokia, Qt Software

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to