[Lazarus] Java's Document & Elements model

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Jun 27 18:24:05 CEST 2008


On Fri, 27 Jun 2008 09:09:31 +0200
"Graeme Geldenhuys" <graemeg.lists at gmail.com> wrote:

>[...]
> >  Please try something like fpc/packages/univint/src/MacOSAll.pas.
> >  Jump to the end of the file and see what happens to the
> > highlighting and your CPU.
> 
> That is impressive. SynEdit handles a 10.2Mb file without problems.
> Even Gnomes gEdit slows down on that file, but it's way better that
> KDE's Kate or KWrite editors. The latter two are quite slow, until
> it's all caches.  Even Midnight Commanders internal 'mcedit' editor
> works quicker than KDE's ones. That's clearly something the KDE
> developers screwed up - seeing that Qt rates performance quite high.

It's the same for some commercial editors.


> > Do you mean you want to write a complete HTML viewer?
> 
> A basic HTML viewer yes - no CSS etc. What I am interrested in at the
> moment is something that can display styled text (be that HTML, RTF or
> something custom). At the moment I'm only interested in text
> attributes like bold, italics, underline and different fonts and
> different size characters.  That will do - all the others features
> will be bonus extras. Something simple I can use to display basic help
> to users - better than plain text.

ok.
And the concurrency support?


> The best solution would obviously be to embed Mozilla into a Free
> Pascal application. I still don't have success with that, but continue
> trying.  If anybody has had success, please let me know.

Ask Michael VC.

Mattias



More information about the Lazarus mailing list