Skip to main content



      Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » Uneditable text
Uneditable text [message #34750] Mon, 08 December 2008 01:49 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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: Sun Jul 06 04:40:10 EDT 2025

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

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

Back to the top