[Kbabel] highlighting - first draft

Stanislav Visnovsky visnovsky@nenya.ms.mff.cuni.cz
Tue, 3 Dec 2002 11:59:09 +0100 (CET)


On Thu, 28 Nov 2002, Marco Wegner wrote:

> 
> One point is that Kate's highlighting system is IMHO much too complicated for
> our purpose since it is designed for so many different languages/file types.
> For KBabel's highlighting I needed merely a hundred lines of code - including
> lots of comments and blank lines...
> 
> The other point is that several features are missing there: entities are not
> supported, as well as C-Format and masked characters. Errors are not reported
> as well (in terms of a different colour).
> 
> Well, and the regexp for checking for tags is
>    <\s*\/?\s*[a-zA-Z_:][a-zA-Z0-9._:-]*
> Not exactly complete. Oh and I just see, there is even a bug in it: no spaces
> are allowed between '<' and '/' IIRC - and I have read the docs from W3.org 
> ;-)

I just hope we will not implement huge highlighting library all over 
again. But let's stick with our own (Marco's) implementation for now.

OK?

Stanislav