[QScintilla] QScintilla crash upon second word separator in a string

Phil Thompson phil at riverbankcomputing.com
Tue Mar 20 12:20:10 GMT 2012


On Sat, 17 Mar 2012 12:58:48 -0500, Jack Cosgrove <jackcosgrove at gmail.com>
wrote:
> Hi,
> 
> I am encountering crashes when I try to use autocomplete to fill in
> function arguments using the Python lexer. For example, given an API
> entry of "foo.bar(foo, bar)", I will always be prompted for foo and bar,
> but if I accept the autocompletion for "bar" and then type an opening
> parenthesis my app crashes.
> 
> Attached is a small example demonstrating this behavior. Type in "fo",
> accept the suggestion, then ".", accept "bar", then "(" to replicate.
> 
> However, if you type in "fo", accept, then ".bar(", then delete the "(",
> you can then type "(" again and encounter the function argument
> suggestion. After this happens the first time the application never
> crashes, even if replicating the first procedure on a new line.
> 
> Thanks to all who reply for your help!

I can't reproduce this with current versions of QScintilla and Qt. What
versions are you using?

Phil


More information about the QScintilla mailing list