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: | 348 / 400 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1035314 - functionKeyListener - e.g. F5 |