[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: hl config trouble (PATCH)
From:       Christoph Cullmann <cullmann () babylon2k ! de>
Date:       2002-03-13 19:01:44
[Download RAW message or body]

On Wednesday 13 March 2002 02:06, Anders Lund wrote:
> On Tuesday 12 March 2002 04:25, Anders Lund wrote:
> > Hi,
> > I fell over this once again, and decided to start investigate a bit.
> > Problems:
> >
> > Changes to the hl configuration does not get saved to disk.
> >
> > Changes to the style data makes it to the current session, changes to
> > extensions or mime types not even there.
> >
> > The kconfig file (katesyntaxhighlightingrc) does not get sync()ed except
> > by the SyntaxDocument class, which appearently does that each time it is
> > constructed.
> >
> > The config object is kept as a static object by the hlManager, could that
> > be the reason? sync()ing it in the hlmanager destructor has no effect.
> >
> > The data would be saved (if the sync() succeded) in a group "<hl name>
> > Highlight" which is only read (by Highlight::getData()) for the sake of
> > the configuration page, not when the document sets the hl mode - afaics,
> > correct me if i'm wrong (jowenn)
> >
> > I am too tired right now to figure out how to solve these problems, still
> > dizzy from a flue, but i will try again tomorrow - but please do not
> > hesitate to help. I think this is a bad one, if we can't solve it we
> > should not display the hl config page at all, but replace it with an
> > excuse.
> >
> > -anders
>
> Hmm, feeling a bit better today: it wasn't that hard.
> Jowenn, can you confirm that this is ok?
I think it is, but might be jowenn knows it better ;)

-- 
Christoph Cullmann
Kate/KDE developer
cullmann@kde.org
http://kate.kde.org
_______________________________________________
kwrite-devel mailing list
kwrite-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic