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

Brian G brian at westwoodsvcs.com
Tue Feb 2 00:42:25 CET 2021


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 [ mailto:g4mba5 at gmail.com | 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 | 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/20210201/ba5fd976/attachment.htm>


More information about the User mailing list