Village Pump:Home/Syntax Highlighting ( archived 2009-06-18 ): Difference between revisions

(→‎OCaml comments: OCaml comments.)
Line 253:
: More generally, can we get this for any language? "Pascal family" languages all use (* foo *) for comments, so adding it would add comment highlighting for lots of languages. --[[User:Mbishop|Mbishop]] 07:02, 5 February 2009 (UTC)
:: Non-trivial. Doing something like that would require different languages to be able to inherit from other languages. Doing something like that would very likely break compatibility with upgrades to the GeSHi engine. It's be nice, though... --[[User:Short Circuit|Short Circuit]] 07:21, 5 February 2009 (UTC)
::: You sure it's not just the default color theme or whatever that doesn't highlight (* ... *) style comments? --[[User:Mbishop|Mbishop]] 15:44, 5 February 2009 (UTC)
: Looking at the source for the ocaml language file, it's being defined correctly according to GeSHi language file syntax. I suspect an engine bug. --[[User:Short Circuit|Short Circuit]] 07:21, 5 February 2009 (UTC)
:::: Modula-3 comments should also be highlighted, as well as Pascal comments, but they are not. --[[User:Mbishop|Mbishop]] 15:44, 5 February 2009 (UTC)
Anonymous user