static KeyListener ctrlEnterKeyListener(fO action) { fO info = _threadInfo(); ret new KeyAdapter { public void keyReleased(KeyEvent ke) { if (ke.getKeyCode() == KeyEvent.VK_ENTER && ke.getModifiers() == KeyEvent.CTRL_MASK) { _threadInheritInfo(info); pcallF(action); } } }; }
Began life as a copy of #1010435
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1017557 |
| Snippet name: | ctrlEnterKeyListener |
| Eternal ID of this version: | #1017557/2 |
| Text MD5: | fb0cc332a8c7a8f95d66219e78e1be2e |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-07-27 19:07:37 |
| Source code size: | 327 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 572 / 633 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |