I am trying to define custom behaviour on some key press actions.. Like for eg: If the user hits enter on a cell, I want some action to perform. I use `Cell Action Map` and `Cell Keymap` for this.. Fo...
This is an auto-generated question from the MPS Slack community: I am trying to define custom behaviour on some key press actions.. Like for eg: If the user hits enter on a cell, I want some action to perform.
I use `Cell Action Map` and `Cell Keymap` for this.. For shift+tab I always use the Keymap because it allows any key combination to be defined...
On one particular cell, the key map I define is not working.. But the NEXT action map defined (for TAB) is working.. So I am thinking about defining SHIFT+TAB on ActionMap itself.. But dont know which is the relevant action.. Anyone can explain?
4 comments
Sort by
Date
Votes
Enum CellActionType contains all defined action types (http://127.0.0.1:63320/node?ref=1ed103c3-3aa6-49b7-9c21-6765ee11f224%2Fjava%3Ajetbr[…]s.openapi.editor.cells%28MPS.Editor%2F%29%2F%7ECellActionType)
The one you are looking for is probably `PREV`?
Ok Let me try PREV and see
Oh yes Slack user:U6K3FGW3U> PREV is the action for SHIFt+TAB... I was even trying SELECT_PREV, but i did not checked PREV... Thanks a lot!
This is auto-generated question from the MPS Community Slack Workspace. If you want to comment on the question, do it from the Slack workspace
Post is closed for comments.