Uses 911K of libraries. Click here for Pure Java version (2633L/14K).
!7 sclass Entry { S time, text; } cmodule ELEFindPastInput > DynObjectTable<Entry> { start { doEvery(1.0, r grab); } void grab enter { if (!ele_on()) ret; S input = ele_currentInput(); if (empty(input)) ret with clear(); Cl<virtual Entry> l = ele_pastInputs(); setData(quickImport(filter(l, e -> eqic(getString text(e), input)))); } }
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: | 221 / 875 |
Version history: | 6 change(s) |
Referenced in: | [show references] |