[Gambas-user] Gambas IDE 1.9.49-2 New Function formating.

Benoit Minisini gambas at ...1...
Sun Jun 24 02:34:47 CEST 2007


On samedi 23 juin 2007, Charlie Reinl wrote:
> Salut Andreas,
>
> new is a gambas KEYWORD, and so it is changed by the IDE.
> UpperCase, and a leading, trailing space.
>
>
>
> Amicalment
> Charlie
>
> Am Samstag, den 23.06.2007, 01:54 +0200 schrieb Andreas Kostyrka:
> > Hi!
> >
> > I'm wondering if this is a known bug, or what I'm doing wrong?
> >
> > $entries.Add(New("ABC", arg1))
> >
> > gets changed by the IDE to
> >
> > $entries.Add( NEW ("ABC", arg1))
> >
> > which is an Error :(
> >
> > TIA,
> >
> > Andreas

The highlighting routine is not yet clever enough to make the difference 
between the two new syntaxes. 

This is not a big problem at the moment, as the compiler makes the difference.

But you are right when wanting the highlighting routine to be as clever as the 
compiler.

Regards,

-- 
Benoit Minisini




More information about the User mailing list