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

22
LINES

< > BotCompany Repo | #1016138 // Show Standard Function [DynModule]

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

Uses 2805K of libraries. Click here for Pure Java version (14631L/102K).

!7

sclass ShowStandardFunction extends DynSCP {
  S function, text;
  
  void update {
    S s = dm_getInterestingString();
    if (isIdentifier(s)) {
      S snippetID = lookupStandardFunction(s);
      if (snippetID == null) ret;
      function = s;
      text = loadSnippet(snippetID);
      setModuleName(s + " [Standard Function]");
      setModuleToolTip(snippetID);
      updateVis();
    }
  }

  void updateVis {
    if (scp != null) scp.setComponent(scrollableJavaxSyntaxTextAreaOrNull(text));
  }
}

Author comment

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: 462 / 617
Version history: 4 change(s)
Referenced in: