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

List:       kde-core-devel
Subject:    Re: kate interface
From:       Christoph Cullmann <crossfire () babylon2k ! de>
Date:       2001-12-25 17:20:52
[Download RAW message or body]

Am Saturday 22 December 2001 16:26 schrieb David Faure:
> On Friday 21 December 2001 22:56, Falk Brettschneider wrote:
> > Hi,
> > Being involved in Kate due KDevelop hacking I'd be interested in getting
> > the Kate interface into kdelibs.
> > I think it should be merged with the Texteditor stuff there.
> > Roland Krause made the Kate interface really usuable for other programs,
> > it's been used in Gideon and KDevelop now.
> > So there's a good reason to move it from kdebase to kdelibs.
> > After all I don't want KDevelop to be dependent from kdebase, but it is
> > at present.
>
> Why ? Isn't this the whole reason for the TextEditor interface ?
> The goal is that you use a generic interface, not a kate-specific
> interface. If you use the TextEditor interface, and if Kate provides an
> implementation of it, and if the interface is complete enough, then you
> don't _need_ kdebase to be present (assuming kdelibs provides a simpler
> implementation of the interface, say KEdit). It will simply work better if
> kdebase is installed, because then kate will be present and used.
Is there any working implementation of ktexteditor which supports both the 
simple ktexteditor::editor interface and the ktexteditor::view/doc interface 
? (beside kate I mean ?)
If not, would it be an option to move the katepart (not the app) to kdelibs as 
the default implementation (for apps like kdevelop and others) to be able to 
use the ktexteditor interfaces without the need of installed kdebase (because 
no default implemenetation in kdelibs is avaible) ? As an sideeffect, the 
kateinterfaces of the katepart would be available too ;)

(About the mass of code of katepart: katepart is the part subdir of the kate 
dir in kdebase, with a bit work, kate could use this part only through the 
kateinterfaces/ktexteditor stuff too, and we have no code duplication)

cu
Christoph


-- 
| Christoph Cullmann
| KDE developer
| cullmann@kde.org
| http://www.kde.org

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

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