logo       

Re: Kate config: msg#00283

kde.devel.kwrite

Subject: Re: Kate config

> On Thursday 30 September 2004 15:37, Nicolas Deschildre wrote:
> > Hi,
> >
> > I would like to access to the kate config and read some values.
> > I have seen KTextEditor::saveConfig(KConfig *). So we should be able to
> > copy the Kate config into another KConfig and then be able to read some
> > values. Is that right?
>
> That would be possible, but you can't know if the config data is up to date
> then, since kate can change them.
>
> > And i guess i had to dig inside the code to find the name of the value, >
> but
> > i hope the names won't change when the new versions come!
>
> There is no plans, but I'm gonna look at converting kate to KConfigXT at > >
> some
> point. I don't know if that is possible, or how much trouble it will cause,
> so I don't know if it will happen.

> You haven't explained why and what you want to access, or in which context -
> if you do so, maybe we could come up with a solution.

I'm working on Quanta+'s VPL (WYSIWYG) view which use the kate part as source
editor, and i wanted to use some of the kate config items such as the number
of undo steps in VPL so that a redundant configure dialog won't be necessary.
So i only need to be able to read the values, and be notified by a signal when
it changes.

Please CC me, i'm not suscribed to the list.

Nicolas

> -anders

> --
> Hjælp verden -- tænk, tal og stem IMOD Bush ved det amerikanske valg
> Help the world -- think, speak and vote AGAINST Bush at the american > > > >
> election
> _______________________________________________
> KWrite-Devel mailing list
> KWrite-Devel@xxxxxxx
> https://mail.kde.org/mailman/listinfo/kwrite-devel


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise