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

15
LINES

< > BotCompany Repo | #1023914 // Split Function Suggester [dev., works with #1020148]

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

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

1  
!7
2  
3  
cmodule SplitFunctionSuggester > DynPrintLogAndEnabled {
4  
  start {
5  
  }
6  
  
7  
  visual centerAndSouthWithMargin(super, withMargin(dm_button('calc)));
8  
  
9  
  void calc enter {
10  
    O mod = dm_findCoarseSplitter();
11  
    S text = trim(dm_getString text(mod));
12  
    if (empty(text)) ret;
13  
    print("Got text (" + nChars(text) + ")");
14  
  }
15  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023914
Snippet name: Split Function Suggester [dev., works with #1020148]
Eternal ID of this version: #1023914/1
Text MD5: 4d2de2166af0d0b50cfd0a95323d62cf
Transpilation MD5: 10d41f69bbf0957397e75337ec658b01
Author: stefan
Category: javax / text processing
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-12 12:22:23
Source code size: 344 bytes / 15 lines
Pitched / IR pitched: No / No
Views / Downloads: 205 / 6051
Referenced in: [show references]