[Kommander-devel] KTextEditor in Kommander
Michal Rudolf
mrudolf at kdewebdev.org
Fri Aug 11 00:39:21 EDT 2006
Eric Laffoon, czwartek, 10 sierpnia 2006 23:34:
>> This is the biggest problem. The editor widget is embedded to a dialog,
>> and not into the mainwindow. This is somewhat unusual usage of a kpart,
>> as for example you cannot access the main menu while the dialog is
>> shown. Also the fact that Kommander does not use the KDE XMLGUI to
>> build its user interface makes merging of a part and the main
>> application interface rather hard, if not impossible.
Kommander Editor uses really a lot of ancient technologies. Welcome to the
museum ;-)
>> > 5) bookmark ability, probably with context menus
>> It is possible, but of course have to be re-implemented, due to the
>> limitations in 2). But i shouldn't be hard.
>I'm not sure how much Kommander needs bookmarks,
I don't think it does. Find & replace will be much more useful.
> However this does bring up one irritation. There is no
> way to easily revert changes. I'm not sure how easy this might be to do
> since we're closing the file. I don't want to put a lot of work into this.
> Would it be much work to make an edit save a temp file which would save
> history to make reverting easier?
I don't think we need to close file - we just need to save it. The problem
with undo is that we are changing edited texts (switching functions) all the
time, so it is an equivalent of editing a lot of small files in Kate. We
would need some operation history for undoing it. Of course, it should be
possible (but quite complicated if we want to merge it with Designer's undo).
--
Michal Rudolf
More information about the Kommander-devel
mailing list