[Gambas-user] IDE crash with browse
Benoît Minisini
gambas at ...1...
Sun Nov 7 15:47:56 CET 2010
> gvwFind.Column = 2 would be more convenient as search string can be found
> multiple times from same line.
>
> Jussi
>
> On Fri, Oct 15, 2010 at 18:01, Jussi Lahtinen
<jussi.lahtinen at ...626...>wrote:
> > Hi!
> > Way to reproduce the problem:
> > 1. Open search window
> > 2. type some word for search
> > 3. click browse
> > 4. press arrow key to right or left
> >
> > Reason:
> > If gvwFind is not in focus, it has no current row, ie gvwFind.Row = -1.
> > Crash when;
> > hFind = $aBrowse[gvwFind.Row]
> > @ Public Sub gvwFind_Select()
> >
> > Suggestion:
> > Add following code to Sub gvwFind_Select.
> >
> > If gvwFind.Row = -1 Then
> > gvwFind.Row = 0 ' Prevents crash.
> > gvwFind.Column = 1 ' Makes browsing with arrow keys smoother.
> > Endif
> >
> > Gambas 3 rev 3265 @Ubuntu 10.04 64bit
> >
> > Jussi
>
Thanks for the fix. I don't understand the need of setting gvwFind.Column, so
I don't take that at the moment.
Regards,
--
Benoît Minisini
More information about the User
mailing list