[Gambas-user] New highlighting definition files documentation

Bruce Steers bsteers4 at gmail.com
Tue Dec 12 02:30:04 CET 2023


On Mon, 11 Dec 2023 at 23:44, Benoît Minisini <
benoit.minisini at gambas-basic.org> wrote:

> Hi,
>
> I have finished the first version of the wiki page that documents how to
> write definition files for the new 'gb.highlight' component.
>
> Read it at https://gambaswiki.org/wiki/doc/highlight, and tell me.
>
> For bigger exemples, just check the definition files located into the
> source code project of 'gb.highlight'.
>

Awesome stuff Benoit.
We should be able to do some interesting things now.
the documentation is great. thank you



>
> My next goal is to find a good mechanisme that allows to add new
> definition file dynamically to the IDE.
>

Also sounds great,
Maybe the same mechanism could be used to also dynamically add
plugins/menus/other stuff

some kind of file type/ext recognition enabler would also be good.
i added a bit of sh recognition to my ide so sh highlighting also works
now.  but only for .sh extensions, no mime test yet but would be better.
https://gitlab.com/bsteers4/gambas/-/commit/dc1d72c81a7c8c005aa1aff0d96bb651f78315da
but to be able to do that dynamically with settings would allow us to make
our own highlighting work in the ide too :)

Respects
BruceS


>
> Regards,
>
> --
> Benoît Minisini.
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231212/0e31852a/attachment.htm>


More information about the User mailing list