[Lazarus] Java's Document & Elements model
Graeme Geldenhuys
graemeg.lists at gmail.com
Fri Jun 27 09:09:31 CEST 2008
On 27/06/2008, Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:
>
> 1Mb = 1 mega byte?
> That's not very impressive.
I meant 1 mega byte into a TEdit. It's actually amazing howmany
toolkits can't handle that.
> 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.
> 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.
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.
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
More information about the Lazarus
mailing list