Skip to main content



      Home
Home » Eclipse Projects » GEF » Preventing newlines in TextCellEditor with SWT.WRAP
Preventing newlines in TextCellEditor with SWT.WRAP [message #158758] Fri, 19 November 2004 11:42 Go to next message
Eclipse UserFriend
Originally posted by: pavan.podila.gmail.com

hi,
I need a TexCellEditor with the wrapping feature, so I set the
SWT.WRAP style. However, this allows entering newlines in my text. I
want to prevent this from happening. Is there any setting for the
TextCellEditor that I can use ?

thanks,
Pavan
Re: Preventing newlines in TextCellEditor with SWT.WRAP [message #158776 is a reply to message #158758] Fri, 19 November 2004 12:54 Go to previous message
Eclipse UserFriend
Originally posted by: none.us.ibm.com

You need to add a Modify/Verify listener to the control
"Pavan Podila" <pavan.podila@gmail.com> wrote in message
news:cnl7qc$9bh$1@www.eclipse.org...
> hi,
> I need a TexCellEditor with the wrapping feature, so I set the
> SWT.WRAP style. However, this allows entering newlines in my text. I
> want to prevent this from happening. Is there any setting for the
> TextCellEditor that I can use ?
>
> thanks,
> Pavan
Previous Topic:How to add an EditPart below the Primary Layer
Next Topic:CreateRequest.setExtendedData()
Goto Forum:
  


Current Time: Thu May 08 19:32:19 EDT 2025

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

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

Back to the top