Hello, I've added a feature request to add a coffeescript lexer to scintilla here: https://sourceforge.net/tracker/?func=detail&aid=3436256&group_id=24... and will hopefully start on it when the semester's over (December). Also, does anyone know:
1) If the lexer needs to be written in c++ (will the lua one Matthew found work?) 2) if it's a bad idea to test this in geany? (I intentionally added the request to scintilla, and can work on it in scite if that's a better idea) 3) if this will cover everything needed for coffeescript in geany once it's done (we'll still need a filetypes.coffee, right? which is just a .conf file that contains the keywords, comment markers, and a few other small things, correct?)
Thanks for any info, and I hope to work on this soon!
Josh
On Fri, Nov 11, 2011 at 10:06 AM, joshua.rh@comcast.net wrote:
Hello, I've added a feature request to add a coffeescript lexer to scintilla here: https://sourceforge.net/tracker/?func=detail&aid=3436256&group_id=24... will hopefully start on it when the semester's over (December). Also, does anyone know:
- If the lexer needs to be written in c++ (will the lua one Matthew found
work?) 2) if it's a bad idea to test this in geany? (I intentionally added the request to scintilla, and can work on it in scite if that's a better idea) 3) if this will cover everything needed for coffeescript in geany once it's done (we'll still need a filetypes.coffee, right? which is just a .conf file that contains the keywords, comment markers, and a few other small things, correct?)
Thanks for any info, and I hope to work on this soon!
Hi Josh,
taking your points in turn.
-1) re the post on Scintilla. Scintilla and Scite already support the scintillua parser you referenced, nothing to do there, move along please :)
0) but Geany does not support scintillua or any other external lexer. I had a quick look once but decided it was "too hard" (tm)
1) no, see -1)
2) the thing that needs adding to Geany is external lexer support, there is nothing to do in scintilla/scite since they already have it.
3) some mappings are needed inside Geany, see Matthew's recent patch for objective C as an example.
Cheers Lex
Josh _______________________________________________ Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
On 11/10/2011 03:23 PM, Lex Trotman wrote:
On Fri, Nov 11, 2011 at 10:06 AM,joshua.rh@comcast.net wrote:
Hello, I've added a feature request to add a coffeescript lexer to scintilla here: https://sourceforge.net/tracker/?func=detail&aid=3436256&group_id=24... and will hopefully start on it when the semester's over (December). Also, does anyone know:
- If the lexer needs to be written in c++ (will the lua one Matthew found
work?) 2) if it's a bad idea to test this in geany? (I intentionally added the request to scintilla, and can work on it in scite if that's a better idea) 3) if this will cover everything needed for coffeescript in geany once it's done (we'll still need a filetypes.coffee, right? which is just a .conf file that contains the keywords, comment markers, and a few other small things, correct?)
Thanks for any info, and I hope to work on this soon!
Hi Josh,
taking your points in turn.
-1) re the post on Scintilla. Scintilla and Scite already support the scintillua parser you referenced, nothing to do there, move along please :)
- but Geany does not support scintillua or any other external lexer.
I had a quick look once but decided it was "too hard" (tm)
no, see -1)
the thing that needs adding to Geany is external lexer support,
there is nothing to do in scintilla/scite since they already have it.
- some mappings are needed inside Geany, see Matthew's recent patch
for objective C as an example.
3b) Ctags/TagManager support if you want symbols in the tree, auto-complete and such. We use Scintilla lexers only for styling/colouring and separate Ctags lexers for tag management stuff.
Cheers, Matthew Brush
Hi,
Just to follow up, in the last little while Scintilla now has a real C++ lexer for CoffeeScript[1].
Cheers, Matthew Brush
[1] http://scintilla.hg.sourceforge.net/hgweb/scintilla/scintilla/file/6a69d4691...
On 11/10/2011 03:06 PM, joshua.rh@comcast.net wrote:
Hello, I've added a feature request to add a coffeescript lexer to scintilla here: https://sourceforge.net/tracker/?func=detail&aid=3436256&group_id=24... https://sourceforge.net/tracker/?func=detail&aid=3436256&group_id=2439&atid=352439 and will hopefully start on it when the semester's over (December). Also, does anyone know:
- If the lexer needs to be written in c++ (will the lua one Matthew
found work?) 2) if it's a bad idea to test this in geany? (I intentionally added the request to scintilla, and can work on it in scite if that's a better idea) 3) if this will cover everything needed for coffeescript in geany once it's done (we'll still need a filetypes.coffee, right? which is just a .conf file that contains the keywords, comment markers, and a few other small things, correct?)
Thanks for any info, and I hope to work on this soon!
Josh
Geany-devel mailing list Geany-devel@uvena.de https://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel