El dom, 09-12-2007 a las 18:17 +0100, Enrico Tröger escribió:
On Sun, 09 Dec 2007 14:24:05 +0100, Javier Vilarroig javier.vilarroig@gmail.com wrote:
Hi.
...
Does exist a way to support editing Smarty templates on Geany? By now I'm using HTML as file type, but gives me some problems.
Which?
Samrty block make Scintilla go mad and makes bad syntax hiligting. And pressing F5 to launch the project run command makes Geany crash.
If it doesn't exist I volunteer to work on it, but then I will need some pointers on where to start looking :)
To highlight the smarty parts within HTML code, we'll need a Scintilla lexer for it. I found a discussion[1] on this but it is over a year old and it seems there was no progress since then.
Basic information on how to start coding for Geany can be found in the file HACKING(included in the source distribution and available at [2]). For further information and questions, just ask here.
Ok, I will try to make that Scintilla lexer to understand Smarty syntax. I will show up when I have more news :) ....
Regards, Enrico
Geany mailing list Geany@uvena.de http://uvena.de/cgi-bin/mailman/listinfo/geany