[Q] replacing the textarea widget

David Faure faure at kde.org
Mon Sep 6 10:14:23 BST 2004


On Monday 06 September 2004 10:20, Didier Verna wrote:
> David Faure <faure at kde.org> wrote:
> 
> > The first step would be to port khtml's RenderWidget to use the KTextEditor
> > interface, so that any text editor can be used there. The second step is to
> > implement a KTextEditor for XEmacs ...
> 
>         Sounds like the Right Way, although I know nothing about KDE's
> internals, so I can't comment. However, since XEmacs is already capable of
> displaying in any X Window, given its ID, there might be a quicker (and yes,
> dirtier ;-) way to do this...

But a text editor in an html page isn't just an embedded window. You need
communication between the two (setting the text, getting the text, notification
on changes, cursor placement, etc. etc.) Basically the KTextEditor interface.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kfm-devel mailing list