Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » SHIFT+INSERT accelerator key new binding
SHIFT+INSERT accelerator key new binding [message #325596] Fri, 22 February 2008 16:08 Go to next message
Eclipse UserFriend
In Eclipse 3.02, SHIFT+INSERT accelerator key is not bound to an action,
when StyledText is selected and hit SHIFT+INSERT accelerator key, the text
in a clipboard is pasted via StyledText.paste(). Our application has
specilized paste function, so that Ctrl+V performs specialized paste
function, SHIFT+INSERT performs text pasting. In this version SHIFT+INSERT
and Ctrl+V have different behaviors.


In Eclipse 3.2.2, SHIFT+INSERT accelerator is bound to RetargetAction which
has "org.eclipse.ui.edit.paste" as its ActionDefinitionId. In this case,
SHIFT+INSERT and Ctrl+V have exact the same behavior. In the other word,
when StyledText is selected and hit SHIFT+INSERT accelerator key, the text
in a clipboard is NOT pasted any more.

One of our customer wants SHIFT+INSERT 's old behavior back, which is text
pasting.

Can we restore SHIFT+INSERT old function by unbinding SHIFT+INSERT and how?
Or any other way to restore this function.


Any suggestion is welcome.


Thanks

Shannon
Re: SHIFT+INSERT accelerator key new binding [message #325615 is a reply to message #325596] Fri, 22 February 2008 22:20 Go to previous message
Eclipse UserFriend
Never mind.

I found accelerator keys are configurable from preference page.

Shannon Wei


"Shannon Wei" <swei@ca.ibm.com> wrote in message
news:fpndkv$br0$1@build.eclipse.org...
> In Eclipse 3.02, SHIFT+INSERT accelerator key is not bound to an action,
> when StyledText is selected and hit SHIFT+INSERT accelerator key, the text
> in a clipboard is pasted via StyledText.paste(). Our application has
> specilized paste function, so that Ctrl+V performs specialized paste
> function, SHIFT+INSERT performs text pasting. In this version SHIFT+INSERT
> and Ctrl+V have different behaviors.
>
>
> In Eclipse 3.2.2, SHIFT+INSERT accelerator is bound to RetargetAction
> which has "org.eclipse.ui.edit.paste" as its ActionDefinitionId. In this
> case, SHIFT+INSERT and Ctrl+V have exact the same behavior. In the other
> word, when StyledText is selected and hit SHIFT+INSERT accelerator key,
> the text in a clipboard is NOT pasted any more.
>
> One of our customer wants SHIFT+INSERT 's old behavior back, which is text
> pasting.
>
> Can we restore SHIFT+INSERT old function by unbinding SHIFT+INSERT and
> how? Or any other way to restore this function.
>
>
> Any suggestion is welcome.
>
>
> Thanks
>
> Shannon
>
>
>
>
>
>
Previous Topic:.BundleException: State change in progress for bundle
Next Topic:ObservabelList question and databinding
Goto Forum:
  


Current Time: Sun Aug 31 00:55:21 EDT 2025

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

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

Back to the top