Uses 408K of libraries. Click here for Pure Java version (15707L/110K).
1 | !7 |
2 | |
3 | sclass SearchInFullSpeechLog > DynTableWithSearcher {
|
4 | bool copyFromAIBar; |
5 | |
6 | L<Map> calc() { ret data; }
|
7 | |
8 | start {
|
9 | L<S> log = katze_getFullLog(); |
10 | data = new L; |
11 | for i over log: |
12 | data.add(litorderedmap('Text, log.get(i), 'Nr := i+1));
|
13 | ownResource(onSpeechRecognized_withoutMine(voidfunc(S s) {
|
14 | Map row = litorderedmap(Text := s, 'Nr := l(data)+1); |
15 | data = listPlus(data, row); |
16 | addRowToTableWithSearcher(tableSearcher, row); |
17 | })); |
18 | dm_onTopInputChange(voidfunc(S s) { if (copyFromAIBar) setSearchTerm(s) });
|
19 | } |
20 | |
21 | afterVisualize {
|
22 | replaceComponent(tableSearcher.searchPanel, func(JComponent panel) -> JComponent {
|
23 | westAndCenter(jLiveValueCheckBox("Copy from AI bar |", dm_fieldLiveValue('copyFromAIBar)), panel)
|
24 | }); |
25 | } |
26 | } |
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: | 822 / 4996 |
| Version history: | 11 change(s) |
| Referenced in: | [show references] |