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

14
LINES

< > BotCompany Repo | #1026696 // dm_showText (in new Text Area module) - returns module ID

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2895L/19K).

sS dm_showText(S text) {
  ret dm_showNewModuleWithFields("#1016122/TextArea", +text);
}

sS dm_showText(S title, S text) {
  S mod = dm_showText(text);
  dm_setModuleName(mod, title);
  ret mod;
}

// convenience synonym for dm_showLines
sS dm_showText(Iterable l) {
  ret dm_showLines(l);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 9 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026696
Snippet name: dm_showText (in new Text Area module) - returns module ID
Eternal ID of this version: #1026696/5
Text MD5: 89c727ae6138afaf9625ac137e87fb41
Transpilation MD5: 86278a774a46bd8d5f029f30d261a074
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-05-03 10:27:27
Source code size: 305 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 283 / 435
Version history: 4 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1030824 - dm_showTextInCodeEditor - code editor has search, save to snippet etc.