Uneditable text [message #34750] |
Mon, 08 December 2008 01:49  |
Eclipse User |
|
|
|
Hi,
I have a header section in my file, (which is a separate partition in my
editor which is based on DLTK platform) that i have rendered uneditable by
registering it to VerifyListener, and implementing the method verifyText()
Though the header has become uneditable i still face two problems
1. When i press enter anywhere in the header, the header gets modified
2. I am able to cut a part of the header, though im unable to paste text
into the header.
Please suggest the course of action to solve these problems
Thanks in advance
Regards,
Sheela
|
|
|
Re: Uneditable text [message #34850 is a reply to message #34750] |
Tue, 16 December 2008 05:32  |
Eclipse User |
|
|
|
Hi Sheela,
IMHO you should override some methods in the
org.eclipse.swt.custom.StyledText.
Regards,
Alex
Sheela wrote:
> Hi, I have a header section in my file, (which is a separate partition
> in my editor which is based on DLTK platform) that i have rendered
> uneditable by registering it to VerifyListener, and implementing the
> method verifyText()
>
> Though the header has become uneditable i still face two problems
> 1. When i press enter anywhere in the header, the header gets modified
>
> 2. I am able to cut a part of the header, though im unable to paste text
> into the header.
>
> Please suggest the course of action to solve these problems
>
>
> Thanks in advance
>
> Regards,
> Sheela
>
|
|
|
Powered by
FUDForum. Page generated in 0.50951 seconds