On Tue, Jan 04, 2005 at 01:00:50PM +0100, Charles de Miramon wrote: > Wordprocessor) we have this feature. Not because, KWord has a big > development team (it is indeed less numerous than the LyX team) but because > we use the Qtextdocument class which gives us the possibility for regexp > expressions. Implementing the feature becomes much more easy, designing the > right regexp, building a usable GUI, and pluging it into the QT API > http://doc.trolltech.com/4.0/qtextdocument.html
But QTextDocument is notoriously slow when things get into the ballpark where LyX documents play (like 150 page thesis with lots of math stuff or similar). So one cannot use it as a base for LyX. In fact, one cannot even use similar concepts. > Another example of the advantages of basing you application on a rich > framework. A bad example for a worthy goal. > I've followed a conference of Lars Knoll, the Trolltech (and KDE) > developer responsible for QTextdocument. In the next version of Qt, > QTextDocument will be fully unicode. He gaves us example how > fiendishly complicated it is to create a interface to enter Unicode > text, deleting, selecting with a mouse for language like Chinese, > India, etc. It is a 2 man/year job. In KWord we get all that for free. > > If LyX was a KDE application, it could used the KScript class that add > a generic scripting engine for an application, reuse the plugin > interface developed for other applications, etc. For me Qt might be fine. KDE certainly is not. [Off topic, but since you possibly know: Is there nowadays a way to move the mouse pointer with keyboard only in KDE (i.e. Alt-Right move the pointer 100 pixels to the right or similar)? This is about the only feature I need from a windowmanager in addition to the ability to display multiple xterms] > KDE or QT should not be viewed from an user point of view (I like or > dislike KDE/Gnome/Gtk ; it is too heavy, bloated, etc.) but as a > successfull development model. By building a common, rich framework > that goes much further than a set of widgets you mutualize the coding > work and make it possible for application developers to concentrate on > their core business (burning cd, listening to music, interfacing with > LateX). That's true. Of course one has to cosider the price. And bloat _is_ a price that not everyone is able to pay, let alone willing. Andre'
