SHIFT+INSERT accelerator key new binding [message #325596] |
Fri, 22 February 2008 16:08  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
>
>
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02910 seconds