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

9
LINES

< > BotCompany Repo | #1018423 - dm_openSnippetInEditor

JavaX fragment (include)

svoid dm_openSnippetInEditor(S snippetID) {
  // Look for existing editor
  for (O mod : dm_modulesWithSnippetID(#1016118))
    if (sameSnippetID(optCastToString(dm_get(mod, 'editing)), snippetID))
      ret with dm_showModule(mod);
      
  // Make new editor
  dm_call(dm_showNewModule("#1016118/SFEditor"), '_loadSnippet, snippetID);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1018423
Snippet name: dm_openSnippetInEditor
Eternal ID of this version: #1018423/3
Text MD5: 636c0136e46e498ec8875f79ae81b0ef
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-21 18:10:13
Source code size: 346 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 210 / 231
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1018423 & http://1018423.tinybrain.de