Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

21
LINES

< > BotCompany Repo | #1018422 // Standard Function Quick Search

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (6542L/33K).

1  
!7
2  
3  
cmodule SFQuickSearch > DynQuickSearch {
4  
  start {
5  
    moduleDescForSearch = "Standard Function";
6  
    quickSearchParams = new O[] {
7  
      defaultAction := voidfunc(fS s) enter {
8  
        dm_hideQuickSearchModules();
9  
        dm_openSnippetInEditor(beforeSpace(s));
10  
      }
11  
    };
12  
  }
13  
  
14  
  afterVisualize {
15  
    onDoubleClickOrEnterThreaded(list, (VF1<S>) optPar(quickSearchParams, 'defaultAction));
16  
  }
17  
  
18  
  L<S> calc_impl() {
19  
    ret scoredSearch_eachTerm(query, stdFunctions_idAndName());
20  
  }
21  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1018422
Snippet name: Standard Function Quick Search
Eternal ID of this version: #1018422/9
Text MD5: 13ebffffba68f7ac010ae1d26cd33faa
Transpilation MD5: 85b870957c57ebbf8fbee09f0d7ae113
Author: stefan
Category:
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-19 20:33:43
Source code size: 517 bytes / 21 lines
Pitched / IR pitched: No / No
Views / Downloads: 383 / 4482
Version history: 8 change(s)
Referenced in: [show references]