Patch: KTextEditor for Gideon (after mhk)

Harald Fernengel harry at kdevelop.org
Thu Mar 28 16:27:05 UTC 2002


Hi,

On Wednesday 27 March 2002 19:17, Matthias Hölzer-Klüpfel wrote:
> thanks for the patch. I just don't understand what this adds wrt the
> current code? The KTextEditor stuff seems to work fine without your patch.

KTextEditor != KEditor.

KTextEditor is the new generic interface that lies in kdelibs while KEditor is 
the Gideon interface (in gideon/lib/interfaces/keditor). They are pretty 
similar but KTextEditor is the "official" KDE solution and KEditor is the 
Gideon hack.

As you can see in partcontroller.cpp I replaced the "KEditor" stuff with 
"KTextEditor" and changed the "Editor*" based system to a document/view 
architecture that will allow multiple views for one document. The old 
approach just featured a single KEditor instance per document. That's also 
why I added a document/view manager which wasn't necessary for the old Gideon 
KEditor interface.

My goal is to remove Gideon's KEditor interface entierly and replace it with 
KTextEditor.

Best regards,
Harry




More information about the KDevelop-devel mailing list