Display large text files using org.eclipse.draw2d.text [message #199465] |
Sat, 15 October 2005 20:15 |
Eclipse User |
|
|
|
Originally posted by: kanstantsin.tut.by
Hello.
I am using FlowPage, BlockFlow & TextFlow figures to display text
documents. I need each paragraph of the text to be displayed differently,
so I create BlockFlow and TextFlow figures for every paragraph in the
Text.
That works fine for small documents but FlowPage resizing is very slow
when there are about two thousands of paragraphs in the text file.
I do understand that layouting of four thousands figures is time consuming
operation but is there any way to speed up it?
Thanks
|
|
|
Re: Display large text files using org.eclipse.draw2d.text [message #199475 is a reply to message #199465] |
Sun, 16 October 2005 16:07 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
One thing which might help is to set the vertical scrollbar to always be
visible. This will cut in half the number of calculations made when laying
out.
"Bora" <kanstantsin@tut.by> wrote in message
news:77263603bb395e87913a0eb3918b28b0$1@www.eclipse.org...
> Hello.
>
> I am using FlowPage, BlockFlow & TextFlow figures to display text
> documents. I need each paragraph of the text to be displayed differently,
> so I create BlockFlow and TextFlow figures for every paragraph in the
> Text. That works fine for small documents but FlowPage resizing is very
> slow when there are about two thousands of paragraphs in the text file.
> I do understand that layouting of four thousands figures is time consuming
> operation but is there any way to speed up it?
> Thanks
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02443 seconds