Uses 1059K of libraries. Click here for Pure Java version (14840L/84K).
!7 cprint { transient JFastLogView_noWrap transpilationErrorBox; start-thread { dm_onSnippetEdited(voidfunc(S snippetID) { if (!sameSnippetID(snippetID, #1030833)) ret; S toTranspile = #1030602; bool medium = true; Runnable onSuccess = null; //transpileOnServerWithErrorWindow(toTranspile, true, null); try { Pair<Bool, S> p = transpileHereOrOnServer(toTranspile, medium); awt { if (p.a) { status("Transpiled OK!"); hideWindow(transpilationErrorBox); transpilationErrorBox = null; callFInNewThread(onSuccess); } else { S text = htmlDecode(htmlDecode(p.b)); /// XXX status("Transpilation error. " + text); bool first = transpilationErrorBox == null; transpilationErrorBox = maximizeFrame(scrollAllTheWayDown(showText_fast_noWrap(transpilationErrorBox, "Transpilation Error", text))); if (first) { setFrameIcon(#1101268, transpilationErrorBox); } } } } catch print e { status("Transpilation problem. " + e); } }); } void status(S s) { infoBox(s); } }
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1030993 |
Snippet name: | Transpile BEA main snippet on include change |
Eternal ID of this version: | #1030993/8 |
Text MD5: | 75c210266496b8605876135c592fdc3f |
Transpilation MD5: | f1c5ae4a003c5ebb05080686f29b2bff |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-04-19 15:02:50 |
Source code size: | 1260 bytes / 39 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 166 / 1837 |
Version history: | 7 change(s) |
Referenced in: | -