Uses 408K of libraries. Click here for Pure Java version (15707L/110K).
!7 sclass SearchInFullSpeechLog > DynTableWithSearcher { bool copyFromAIBar; L<Map> calc() { ret data; } start { L<S> log = katze_getFullLog(); data = new L; for i over log: data.add(litorderedmap('Text, log.get(i), 'Nr := i+1)); ownResource(onSpeechRecognized_withoutMine(voidfunc(S s) { Map row = litorderedmap(Text := s, 'Nr := l(data)+1); data = listPlus(data, row); addRowToTableWithSearcher(tableSearcher, row); })); dm_onTopInputChange(voidfunc(S s) { if (copyFromAIBar) setSearchTerm(s) }); } afterVisualize { replaceComponent(tableSearcher.searchPanel, func(JComponent panel) -> JComponent { westAndCenter(jLiveValueCheckBox("Copy from AI bar |", dm_fieldLiveValue('copyFromAIBar)), panel) }); } }
Began life as a copy of #1016760
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: | #1016897 |
Snippet name: | Search In Full Speech Log [Dyn Module] |
Eternal ID of this version: | #1016897/12 |
Text MD5: | ef2878006908b2c389c593ae936c7693 |
Transpilation MD5: | 28d55de40b9b9e99f123302e8bea6603 |
Author: | stefan |
Category: | javax / stefan's os |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-11-19 15:48:59 |
Source code size: | 815 bytes / 26 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 405 / 4458 |
Version history: | 11 change(s) |
Referenced in: | #1016901 - Search In Standard Functions List [Dyn Module] |