Uses 911K of libraries. Click here for Pure Java version (2633L/14K).
1 | !7 |
2 | |
3 | sclass Entry { |
4 | S time, text; |
5 | } |
6 | |
7 | cmodule ELEFindPastInput > DynObjectTable<Entry> { |
8 | start { doEvery(1.0, r grab); } |
9 | |
10 | void grab enter { |
11 | if (!ele_on()) ret; |
12 | S input = ele_currentInput(); |
13 | if (empty(input)) ret with clear(); |
14 | |
15 | Cl<virtual Entry> l = ele_pastInputs(); |
16 | setData(quickImport(filter(l, e -> eqic(getString text(e), input)))); |
17 | } |
18 | } |
Began life as a copy of #1026333
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1026353 |
Snippet name: | ELE: Find Past Input identical to current input [OK] |
Eternal ID of this version: | #1026353/7 |
Text MD5: | f15fe7a4e60fae6260e7a7bf205a320d |
Transpilation MD5: | 14c3453da10e16b10422f9fa9f69b111 |
Author: | stefan |
Category: | javax / electric logic engine |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-12-25 15:54:53 |
Source code size: | 391 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 223 / 878 |
Version history: | 6 change(s) |
Referenced in: | [show references] |