Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Uneditable text
Uneditable text [message #34750] Mon, 08 December 2008 06:49 Go to next message
Sheela is currently offline SheelaFriend
Messages: 52
Registered: July 2009
Member
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 10:32 Go to previous message
Alex Panchenko is currently offline Alex PanchenkoFriend
Messages: 342
Registered: July 2009
Senior Member
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
>
Previous Topic:[BUILD] I-I200812111253-200812111253
Next Topic:[BUILD] I-I200812180549-200812180549
Goto Forum:
  


Current Time: Fri Mar 29 00:34:37 GMT 2024

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

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

Back to the top