[Gambas-user] Re: gambas segfaulting

Benoit Minisini gambas at ...1...
Tue Jul 20 23:46:50 CEST 2004


On Tuesday 20 July 2004 23:24, Laurent Carlier wrote:
> while pressing the f5 key after a small modif
>
> with gentoo ebuild of gambas 0.95 with qt-3.3.2 and kde 3.2.3
>
> here a screenshot
>
> -
>
> Laurent Carlier

This is not a segfault, this is just a "normal" error in the IDE :-)

To fix it, replace the lvwComp_KeyPress function in FCompletion by the 
following:

PUBLIC SUB lvwComp_KeyPress()

  DIM hEditor AS GambasEditor
  DIM hForm AS FEditor

  'IF Key.Code = Key.Escape THEN ME.Hide
  
  hEditor = GetEditor()
  hEditor.SetFocus
  hForm = hEditor.Window
  hForm.edtEditor_KeyPress

END

...and rebuild the IDE - Make the executable, and replace /usr/bin/gambas by 
it.

Sorry for the inconvenience,

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list