octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About the editor in Octave GUI


From: Pascal Dupuis
Subject: Re: About the editor in Octave GUI
Date: Sat, 14 Dec 2013 15:01:40 +0100

2013/12/14 José Luis García Pallero <address@hidden>:
> Hello:
>
> I know Octave GUI uses qscintilla as editor. But, as the is written
> using QT and the KDE desktop is also QT, I think they could be
> integrated about the text editor. Many people who use KDE works with
> Kate as default editor. I think Kate is a powerful tool, better than

Funny. It reminds me of "the editor war", "vi" versus "emacs".

BTW, 'qt-scintilla' is an embeddable editor, meaning it was written in
such a way to be embedded into another application. The benefits are
that this reduces the number of dependencies with respect to
octave-gui. Having octave-gui working in KDE-only would have been
nonsense.

In order to be able to choose other editors, the actual code should be
rebuilt following a two-tier approach:
1) a direct interface for octave which is editor-agnostic
2) glue code in order to interface with specific editor, i.e.
translating the upper layer calls to according to the editor API.
This way, the interface for each specific editor would become a plugin.

Writing this plugin architecture is time and ressources consuming. Are
you ready to help developping this approach ?

Pascal


reply via email to

[Prev in Thread] Current Thread [Next in Thread]