Uses 2805K of libraries. Click here for Pure Java version (14631L/102K).
1 | !7 |
2 | |
3 | sclass ShowStandardFunction extends DynSCP { |
4 | S function, text; |
5 | |
6 | void update { |
7 | S s = dm_getInterestingString(); |
8 | if (isIdentifier(s)) { |
9 | S snippetID = lookupStandardFunction(s); |
10 | if (snippetID == null) ret; |
11 | function = s; |
12 | text = loadSnippet(snippetID); |
13 | setModuleName(s + " [Standard Function]"); |
14 | setModuleToolTip(snippetID); |
15 | updateVis(); |
16 | } |
17 | } |
18 | |
19 | void updateVis { |
20 | if (scp != null) scp.setComponent(scrollableJavaxSyntaxTextAreaOrNull(text)); |
21 | } |
22 | } |
Began life as a copy of #1015869
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016138 |
Snippet name: | Show Standard Function [DynModule] |
Eternal ID of this version: | #1016138/5 |
Text MD5: | 45cd509191e45375a379c1bd3e8ea1a6 |
Transpilation MD5: | 84a159e17d9741b0fa4d4e526ff775ab |
Author: | stefan |
Category: | |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-08 18:34:59 |
Source code size: | 533 bytes / 22 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 461 / 616 |
Version history: | 4 change(s) |
Referenced in: | [show references] |