On Mon, May 9, 2011 at 12:40 AM, Gabor Szabo <szab...@gmail.com> wrote: > There are a couple of points regarding what people need in an IDE. > http://lists.scsys.co.uk/pipermail/catalyst/2011-March/026691.html > but I think the main issue is to be able to do syntax highlighting for > mixed files. > > to go to the extreme: > a "CGI script" written in Perl with embedded HTML, Javascript, CSS and SQL :) >
There's no need to start with that extreme. We could simply try to colorize differently whatever comes after __DATA__, then move to colorizing pod and then tryingo language autodetection every time the editor finds particular tokens (be it a simple string quote, a heredoc, pod, __DATA__, etc ). I remember discussing this issue with someone (likely Adam or Ahmad I think) a few weeks ago, on how difficult it would be to have a syntax highlighter for different syntaxes on the same file. I'm not sure this is possible with Scintilla, and I'm not familiar enough with Kate's or Vim's highlighting system to tell whether it's feasible or not via a plugin. If it's possible to feed the highlighter engine with chunks of code, we can do it. I for one miss this feature very much =/ Cheers, breno (garu) _______________________________________________ Padre-dev mailing list Padre-dev@perlide.org http://mail.perlide.org/mailman/listinfo/padre-dev