[QScintilla] Auto-Completion on Windows
Andrea Battisti
battisti at actgate.com
Wed Jul 2 14:15:10 BST 2008
>> I am trying to enable the auto-completion on a QScintilla-based editor
>> widget (Qt3).
>> The following code works on Linux and Mac OS X, but causes a crash on
>> Windows, just when the the auto completion is triggered and the keywords
>> list should pop-up.
>>
>>
>>
>> [...]
>> setAutoCompletionThreshold( 2 );
>> setAutoCompletionSource( QsciScintilla::AcsAPIs );
>>
>> ac_apis = new QsciAPIs( lex );
>>
>> ac_apis->add( "keyword1" );
>> ac_apis->add( "keyword2" );
>> ac_apis->add( "keyword3" );
>> ac_apis->prepare();
>> [...]
>>
>>
>>
>> Is this supposed to work also on Windows?
>>
>
> Yes.
>
>
>> Related to this, I noticed that in the QScintilla Windows package (.zip)
>> there's not a "Qt3" subfolder, only "Qt4" is present.
>> Does this mean that Qt3 is no more supported in Windows?
>> Instead, the .tar.gz packages has both the "Qt3" and "Qt4" folders, so I
>> built it under Windows using the "Qt3" folder on the .tar.gz
>>
>
> There is no GPL version of Qt3 for Windows, so there is no GPL version of
> QScintilla for Qt3.
>
I see.
So if we renew our commercial license, we will get the Win/Qt3 version also?
Apart the different license, the code is equivalent I guess.
> What versions are you using?
>
QScintilla-gpl-2.2
I am trying also with the latest shapshot, just in case.
Thanks,
--
Andrea Battisti
Applied Coherent Technology Corp.
More information about the QScintilla
mailing list