[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.platform] SHIFT+INSERT accelerator key new binding
|
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