Word Wrap with \r\n [message #127409] |
Thu, 15 April 2004 05:22  |
Eclipse User |
|
|
|
Originally posted by: sellai.yahoo.com
Hi,
I have a figure which functions like the label in the logic example.
However, in my case it word wraps. I've discovered that if i don't set any
layout manager for the TextFlow, it will not recognize "\r\n" etc... If i
set the layout manager as "SimpleTextLayout", it works fine. But is there
a layout that allows both scenario? so that i don't have to set different
layout for different part of the input text?
Thanks in advance.
Regards,
June
|
|
|
|
|
Re: Word Wrap with rn [message #127669 is a reply to message #127586] |
Fri, 16 April 2004 10:32  |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
Have you tried a new build of GEF, or looked at the new label in the Logic
Example?
"June" <sellai@yahoo.com> wrote in message news:c5nd2c$l03$1@eclipse.org...
> I tried ParagraphTextLayout as well, but it was no use. I think it is the
> default layout manager for TextFlow....
>
> Whitney Sorenson wrote:
>
> > Have you tried the "ParagraphTextLayout"? You may also want to take a
look
> > at the label in the current Logic Example (3.0 Stream). It allows for
direct
> > editing of text including wrapping and hard line breaks.
>
> > "June" <sellai@yahoo.com> wrote in message
news:c5lk9j$amr$1@eclipse.org...
> > > Hi,
> > > I have a figure which functions like the label in the logic
example.
> > > However, in my case it word wraps. I've discovered that if i don't set
any
> > > layout manager for the TextFlow, it will not recognize "rn" etc... If
i
> > > set the layout manager as "SimpleTextLayout", it works fine. But is
there
> > > a layout that allows both scenario? so that i don't have to set
different
> > > layout for different part of the input text?
> > >
> > > Thanks in advance.
> > >
> > > Regards,
> > > June
> > >
>
>
|
|
|
Re: Word Wrap with \r\n [message #127729 is a reply to message #127409] |
Fri, 16 April 2004 10:01  |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
Newlines were not handled in 2.1 I believe. What you have to do, is create
a BlockFlow for each paragraph.
"June" <sellai@yahoo.com> wrote in message news:c5lk9j$amr$1@eclipse.org...
> Hi,
> I have a figure which functions like the label in the logic example.
> However, in my case it word wraps. I've discovered that if i don't set any
> layout manager for the TextFlow, it will not recognize "\r\n" etc... If i
> set the layout manager as "SimpleTextLayout", it works fine. But is there
> a layout that allows both scenario? so that i don't have to set different
> layout for different part of the input text?
>
> Thanks in advance.
>
> Regards,
> June
>
|
|
|
Powered by
FUDForum. Page generated in 0.06302 seconds