|Re: Temporarily disabling editor action. [message #305010 is a reply to message #304976]
||Wed, 21 June 2006 08:32
| Dani Megert
Registered: July 2009
Paul Webster wrote:|
> Torkild U. Resheim wrote:
>> I'm writing a line draw feature for my editor and need to use the CTRL+
>> arrow keys. These are taken by actions so I'm trying to disable these
>> use a VerifyKeyListener to produce the characters. The disabling code
>> like this:
>> IKeyBindingService service = getEditorSite().getKeyBindingService();
>> IAction down = getAction("org.eclipse.ui.edit.text.scroll.lineDown");
>> The action is disabled but CTRL+DOWN is still intercepted. Is there
>> any way
>> I can remedy this.
I guess the widget is handling it by itself.
> Redirected to eclipse.platform, it's a platform question.
Powered by FUDForum
. Page generated in 0.02080 seconds