[QScintilla] Problem with autoCompletionShowSingle

Phil Thompson phil at riverbankcomputing.com
Sun Feb 6 17:54:18 GMT 2011


On Thu, 03 Feb 2011 16:56:49 +0100, Vincent Renaudineau
<vincent.renaudineau at lip6.fr> wrote:
> Hi !
> 
> It seems that there is a problem with the autoCompletionShowSingle
> parameter :
> autoCompletionShowSingle(true) select the single word,
> autoCompletionShowSingle(false), show it.
> 
> Qt4/qscisintilla.cpp line 758 in 
> 
> void QsciScintilla::startAutoCompletion(AutoCompletionSource acs,
>         bool checkThresh, bool single)
> ...
> SendScintilla(SCI_AUTOCSETCHOOSESINGLE, single);
> ...

I think it's working as it should. However it is really badly named.

I've deprecated it and added a new autoCompletionUseSingle() which is a
bit more flexible and has a better name.

Phil


More information about the QScintilla mailing list