TextFlow fragments and segments [message #185739] |
Wed, 29 June 2005 17:49 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02858 seconds