From: Kazutoshi S. <k_s...@f2...> - 2010-03-01 16:21:41
|
Bertalan Fodor (LilyPondTool) wrote: > is it possible to override the mode definition XML provided syntax > highlighting from a plugin, actually from a parser. I need to delegate > to an other mode for syntax highlighting, but there is no regexp I could > use, I need a sophisticated parser to find the beginning and the end of > the delegate. No, it's impossible at least for now. But I've thought that it could be made possible if the all use of current mode properties in syntax engine are extracted into a new plain interface (or a thin abstract class), and redefine the current mode class as a implementation of that interface. Just an idea. -- k_satoda |