Wrapping in Text Widget [message #444508] |
Thu, 14 October 2004 14:41 |
Eclipse User |
|
|
|
Originally posted by: mccarbro.att.net
I can not find information on this anywhere... How can I dynamically
change the Word Wrap on the Text Widget. Basically I am exposing a Menu
item that the user can select whether they want wordwrap on or off
similiar to the feature in Notepad.exe but I can not figure out how to
get the widget to respond.
Thanks for any help...
|
|
|
|
Re: Wrapping in Text Widget [message #444519 is a reply to message #444511] |
Thu, 14 October 2004 17:13 |
Eclipse User |
|
|
|
Originally posted by: mccarbro.att.net
Veronika Irvine wrote:
> In the Text widget, wrapping can only be set at creation time with the style
> SWT.WRAP.
>
> StyledText allows you to toggle word warpping dynamically using
> StyledText.setWordWrap(boolean).
>
> "Tim Martin" <mccarbro@att.net> wrote in message
> news:ckm2ui$4ji$1@eclipse.org...
>
>>I can not find information on this anywhere... How can I dynamically
>>change the Word Wrap on the Text Widget. Basically I am exposing a Menu
>>item that the user can select whether they want wordwrap on or off similiar
>>to the feature in Notepad.exe but I can not figure out how to get the
>>widget to respond.
>>
>>Thanks for any help...
>
>
>
You're right... I was looking at using that widget but decided I only
needed the plain text and figured I was overlooking something... thanks
for your quick response.
|
|
|
Powered by
FUDForum. Page generated in 0.03308 seconds