[Geany-devel] Scintilla Lua lexers for syntax highlighting
Jason Oster
jason.oster at xxxxx
Fri Oct 22 20:54:23 UTC 2010
On 10/22/2010 06:00 AM, Nick Treleaven wrote:
> Hi list,
> A while ago Lex and I discussed improving custom filetypes, and the
> most promising thing was using Lua lexers.
>
[snip]
> Found the original project that does this (the next version of
> SciTE will have support for this):
> http://code.google.com/p/scintillua/
> http://code.google.com/p/scintillua/wiki/LexerList
>
> Haven't looked at it really but it mentions universal color schemes, so
> I'll investigate sometime - this could be useful for adding named
> styles.
>
> Nick
Hi Nick,
I quickly skimmed over the documentation you linked, and it seems like
it could be a great addition to Geany. I don't know any Lua (though I'm
aware it's a popular scripting language), but it looks simple enough. I
can imagine the potential usefulness in a few cases:
1) Rapidly prototyping new language lexers.
2) Extending currently-available native lexers(?) Example: making the
JavaScript lexer (Actually, it's the C++ lexer!) aware of E4X [1]
language features. Namely, the addition of XML as a first-class data
type [2].
I'm not wuite sure about extending the native lexers, but that would be
really cool! ;)
[1] ECMAScript for XML: http://en.wikipedia.org/wiki/E4X
[2]
https://sourceforge.net/tracker/?func=detail&atid=352439&aid=3005577&group_id=2439
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jason_oster.vcf
Type: text/x-vcard
Size: 303 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/devel/attachments/20101022/70717f8e/attachment.vcf>
More information about the Devel
mailing list