[Gambas-user] Gambas highlight

Randall Morgan rmorgan62 at ...626...
Mon Aug 10 20:50:24 CEST 2015


Since Javascript is ran in the browser, you should be able to use any of
the javascript processors like Prism, Enlighten, zsh-syntax-hilighting,
etc. Most syntax highlighters use a config file or special class to set
highlighting rules. There is a Tex processor plugin I use with Lyx that has
Gambas highlighting rules. I haven't used it in a long while but it
shouldn't be hard to find. So just select a highlighter, get it to work on
your web page and then add the rules needed for Gambas. There is also a
Wordpress plugin that uses Tex and you should be able to use the same rules
from the Lyx plugin as it is just a Tex editor. Do some googling and you
should come up with all the peices you need to put it together.

You may also be able to use Gambas' own internal syntax highlighter. I
haven't tried but I am sure someone on here would know.



On Mon, Aug 10, 2015 at 8:05 AM, abbat81 <abbat.81 at ...787...> wrote:

> Hi,
>
> is it possible to add Gambas syntax highlighting for the Web?
>
> I tried VBScript and VB.NET. It's not good for Gambas code.
>
> https://highlightjs.org/
>
>
>
> --
> View this message in context:
> http://gambas.8142.n7.nabble.com/Gambas-highlight-tp52218.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
If you ask me if it can be done. The answer is YES, it can always be done.
The correct questions however are... What will it cost, and how long will
it take?



More information about the User mailing list