Re: [Gambas-user] Bug with autocompletion

2012-09-27 Thread Jussi Lahtinen
Damn... I see, it was fixed already. Forgot to svn update. Jussi On Thu, Sep 27, 2012 at 10:15 PM, Jussi Lahtinen wrote: > OK, I got it. > Write following text: > > If 1=2 The > > And then hit tab. --> Crash. > > This can be fixed by adding this to CompleteItem() sub: > > If IsNull(gvwComp.C

Re: [Gambas-user] Bug with autocompletion

2012-09-27 Thread Jussi Lahtinen
OK, I got it. Write following text: If 1=2 The And then hit tab. --> Crash. This can be fixed by adding this to CompleteItem() sub: If IsNull(gvwComp.Current) = True Then gvwComp.MoveTo(0, 0) Endif Thought, I don't know root reason for this bug, and so this may not be the desired fix. J

[Gambas-user] Bug with autocompletion

2012-09-26 Thread Jussi Lahtinen
This happens with Gambas 3 rev 5201. I don't know how to reproduce it, but it has happened with autocompletion when I press Tab. [13] Null object. FCompletion.CompleteItem.730 Any clue? Jussi -- How fast is your code?