Posted By:
Sunny_Vashisth
Posted On:
Wednesday, November 28, 2007 03:09 AM
I am creating and using object of TextActionHandler
textActionHandler = new TextActionHandler(getViewSite().getActionBars());
textActionHandler.setCopyAction(keyBoardCopyAction);
textActionHandler.setPasteAction(keyBoardPasteAction);
this way.
Now problem with this is that cut and copy actions are invoked only if I press Ctrl-X and Ctrl-C twice. I mean text is copied to clipboard only after pressing Ctrl-C twice.
Anyone has any idea regarding this issue?