[Kbabel] KBabel after 1.0 (Roadmap)

Stanislav Visnovsky visnovsky@nenya.ms.mff.cuni.cz
Wed, 6 Nov 2002 08:07:48 +0100 (CET)


On Tue, 5 Nov 2002, Marco Wegner wrote:

> > That would be great! IMO we should go for even minimal support ASAP.
> 
> I think I can have a basic version finished within a few weeks. But right in 
> the moment I'm more occupied with translating than with developing...

Me too :-))

> 
> > > I'm also working on a new highlighting system for KBabel (not completely
> > > sure whether I'll be using QSyntaxHighlighter for this). I hope this can
> > > somehow be combined with a syntax validator.
> >
> > I wasn't sure about the status of this one.
> 
> The highlighting is basically finished. I have two different versions - one 
> with QSyntaxHighlighter, one class which I've written myself. Both classes 
> have both advantages and (possible) disadvantages.
> 
> QSyntaxHighlighter is easy to implement. But IMHO it's a problem that only one 
> line (paragraph) can be checked at a time. I cannot for instance check for 
> entities which start at the end of one line and end on the next line (like 
> with &kcontrolcenter; where one line ends with '&kcontrol' and the next one 
> starts with 'center;') since I don't know if the ampersand is used for an 
> entity or as an accelerator...
> 
> My own class works around this. But it uses some of the code from the current 
> highlighting and there's this problem with the crashes we have in current 
> highlighting... So I don't know whether there will still be crashes (didn't 
> experience them though).

Then we should go with our own implementation ATM and maybe to send a
wishlist item to TrollTech to improve QSyntaxHighlighter. 

IMHO if our own highlighting would crash, their QSyntaxHighlighter would
do as well, since the crashes were always introduced in a low-level
formatting code.

Stanislav