spreadsheet
spreadsheet copied to clipboard
Spreadsheet Shortcut for "Copy" breaks Clipboard
spreadsheet.addShortcutListener(
new ShortcutListener("Copy Shortcut META", KeyCode.C, new int[] {ShortcutAction.ModifierKey.META}) {
@Override
public void handleAction(Object sender, Object target) {
// TODO copy action
}
});
This intercepts Copy key commands on a Mac just fine. BUT it breaks the clipboard. To be specific values that are copied are using C+META are no longer copied to the clipboard. Same thing happens with paste.