Open GavriYashar opened 8 years ago
it is partionally fixed by:
but Bookmarks
still causing problems.
directly on startup the added keybinding works, but after startup matlab somehow overwrites keybindings:
estp = at.mep.util.ComponentUtil.getEditorSyntaxTextPaneForEditor(...
at.mep.editor.EditorWrapper.gae());
estp.getInputMap(0);
inputmap = estp.getInputMap(0);
actionmap = estp.getActionMap();
ikeys = inputmap.allKeys;
akeys = actionmap.allKeys;
actionmap.get('toggle-bookmark')
actionmap.get('MEP_BOOKMARK')
actionmap.get('MEP_SHOW_BOOKMARKS')
actionmap.get('MEP_COPY_CLIP_BOARD')
Also custom commands KeyReleasedHandler:addMatlabCallback
must be rewritten to use keystrokes -> good documentation
Using
KeyListeners
forEditorSyntaxTextPane
is not the smartest thing to do.