Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » TextFlow fragments and segments
TextFlow fragments and segments [message #185739] Wed, 29 June 2005 17:49 Go to next message
Eclipse UserFriend
Originally posted by: freddie_nurke.hotmail.com

Hi folks,

I'm trying to clarify what the fragments and segments of a TextFlow are.
Both are used in ParagraphTextLayout#layout. Segments appear to be
created in the ParagraphTextLayout from the TextFlow's text, and
represent the changes in bidi over the run. Fragments come from within
the TextFlow and appear to never be set to anything other than an empty
list.

What is the intended purpose of the fragments?

Thanks,

Fred
Re: TextFlow fragments and segments [message #186201 is a reply to message #185739] Sun, 03 July 2005 01:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

fragments are the locations and offsets of string which must be painted by
individual calls in SWT. In the case of bidi, we must separate text which
has different levels. This is what the segments are for.

"Fred Nurke" <freddie_nurke@hotmail.com> wrote in message
news:d9un03$4rg$1@news.eclipse.org...
> Hi folks,
>
> I'm trying to clarify what the fragments and segments of a TextFlow are.
> Both are used in ParagraphTextLayout#layout. Segments appear to be
> created in the ParagraphTextLayout from the TextFlow's text, and represent
> the changes in bidi over the run. Fragments come from within the TextFlow
> and appear to never be set to anything other than an empty list.
>
> What is the intended purpose of the fragments?
>
> Thanks,
>
> Fred
Re: TextFlow fragments and segments [message #186285 is a reply to message #186201] Mon, 04 July 2005 17:38 Go to previous message
Eclipse UserFriend
Originally posted by: freddie_nurke.hotmail.com

Thanks, Randy.

Could you please look at my other questions on indentation and tabs and
give me some ideas on those?

Thanks,

Fred

Randy Hudson wrote:
> fragments are the locations and offsets of string which must be painted by
> individual calls in SWT. In the case of bidi, we must separate text which
> has different levels. This is what the segments are for.
>
> "Fred Nurke" <freddie_nurke@hotmail.com> wrote in message
> news:d9un03$4rg$1@news.eclipse.org...
>
>>Hi folks,
>>
>>I'm trying to clarify what the fragments and segments of a TextFlow are.
>>Both are used in ParagraphTextLayout#layout. Segments appear to be
>>created in the ParagraphTextLayout from the TextFlow's text, and represent
>>the changes in bidi over the run. Fragments come from within the TextFlow
>>and appear to never be set to anything other than an empty list.
>>
>>What is the intended purpose of the fragments?
>>
>>Thanks,
>>
>>Fred
>
>
>
Previous Topic:Copy and Paste Facility!!!
Next Topic:Rotated text
Goto Forum:
  


Current Time: Thu Apr 25 20:14:03 GMT 2024

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

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

Back to the top