Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Display large text files using org.eclipse.draw2d.text
Display large text files using org.eclipse.draw2d.text [message #199465] Sat, 15 October 2005 20:15 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
>
Previous Topic:laying out child figures in 2 columns
Next Topic:setEditDomain call from constructor
Goto Forum:
  


Current Time: Thu Apr 25 01:21:33 GMT 2024

Powered by FUDForum. Page generated in 0.04238 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top