[Gambas-user] Highlight not working for script class definition

Jussi Lahtinen jussi.lahtinen at gmail.com
Tue Feb 2 01:31:36 CET 2021


- *ee50e979
<https://gitlab.com/gambas/gambas/-/commit/ee50e97948a346689f334f504e98fadc3c5257c5>*
by gambas *at 2021-02-01T04:04:46+01:00*

If the "class" word follows the "End" keyword, it is recognized as a keyword.

[COMPILER]
* NEW: If the "class" word follows the "End" keyword, it is recognized
as a keyword.

[GB.EVAL]
* NEW: If the "class" word follows the "End" keyword, it is recognized
as a keyword.

-
-
-

Jussi


On Tue, Feb 2, 2021 at 1:53 AM Brian G <brian at westwoodsvcs.com> wrote:

> Will you update to include 'end class' as keywords?
> I did not understand from your response!
>
> Thank You
> Brian G
>
> ------------------------------
> *From: *"Brian" <brian at westwoodsvcs.com>
> *To: *"Gambas mailing list" <user at lists.gambas-basic.org>
> *Sent: *Sunday, January 31, 2021 8:13:37 PM
> *Subject: *Re: [Gambas-user]  Highlight not working for script class
> definition
>
> Yes that is the idea!
>
> --
> Thanks
> Brian
> Sunday, 31 January 2021, 06:58PM -08:00 from Benoît Minisini
> g4mba5 at gmail.com:
>
> Le 01/02/2021 à 02:49, Brian G a écrit :
> > I am not sure if this is a bug or a feature, but it would be nice if it
> > was fixed
> >
> > For Class definitions it would be nice if the highlighter recognized
> > CLASS as a keyword
> >
> > class Myclass
> > .......
> >
> > END class <--- this is not recognized as a keyword I assume this should
> > be recognized....
> > make it easier to parse. no need for upper(everything) and identified
> > correctly of course...
> >
> > Thank You
> > Brian G
> >
> >
> > ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> >
>
> OK, but you must the Highlight.Analyze() function to parse Gambas code,
> not do it yourself.
>
> --
> Benoît Minisini
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210202/e482c058/attachment-0001.htm>


More information about the User mailing list