Uses 2597K of libraries. Click here for Pure Java version (28892L/158K).
java.lang.RuntimeException: Unknown token 2: <:
Warning: session_start(): open(/var/lib/php/sessions/sess_522scjvlrsvkokuvprcftu8nld, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
{"1000630":"call function(s) for reflective calls to objects\/classes","1000658":"print function (=System.out.println + logging in memory)","1000736":"sleep function","1000994":"loadFont - load Java font (.ttf\/.otf) from a snippet or file","1000997":"loadSnippet and dependencies (with (hopefully) better caching, current)","1001042":"saveTextFile (function)","1001049":"loadTextFile (function)","1001106":"showText function","1001664":"max function","1001741":"or function","1001822":"isChecked","1001851":"isString","1001865":"neq function","1001913":"unnull","1002025":"load - synonym of readLocally","1002071":"trim function","1002178":"copyFields - now uses setOpt","1002334":"editSnippet","1002336":"createSnippet","1002348":"nempty - not empty","1003236":"snippetLink","1003239":"map - call function on list (takes function name, Runnable or function object with \"get\" method) \/ now also works on maps","1003310":"setText - more flexible shorthand for JTextComponent\/JLabel\/JButton.setText() - uses AWT thread (and waits)","1003312":"jbutton - extended synonym of newButton","1003321":"programTitle - synonym of getProgramName","1003483":"callF + safeCallF - call a Runnable, func, voidfunc or function name","1003498":"className - synonym of getClassName","1003516":"maximizeFrame - better in non-AWT thread (so it can wait for the maximization)","1003587":"setFrameIcon - set JFrame's icon to a snippet image","1003926":"abstractAction - make AbstractAction subclass from name and Runnable","1004034":"addMenu - replaces whole menu if it is there","1004219":"Pair - value pair; sorted by a, then b","1004323":"parseFirstInt - parse first int in string (or return 0)","1004442":"showFormTitled (+ showForm_makePanel) - show input form [Swing]","1004485":"getSnippetType (as int)","1004519":"f2s - same as File.getAbsolutePath(); returns null on null","1004939":"getSelectedItem - for JList\/JComboBox","1005044":"addButtonsToWindow","1005288":"optCast - cast to type or return null if not an instance of it","1005426":"jCheckBox - make JCheckBox","1005595":"quote - Java-compatible string quoting with \"\". now also escapes \\t","1006319":"class ReliableSingleThread - triggers again reliably when one step is already running","1006455":"getTextTrim - getText() from JTextComponent, trim","1006468":"renameSnippet","1006623":"renameSubmitButton - rename button called \"Submit\" (default text in showForm)","1006642":"getText - get entered text\/selected item from JTextComponent or JComboBox (thread-safe)","1006692":"inputFilePath - show input form for a file path","1006694":"jtextfield - synonym of jTextField","1006705":"awtCalcEvery - synonym of awtCalcRegularly","1006833":"infoBox - synonym of infoMessage - show info message in top-right corner","1007651":"onChangeAndNow - synonym of onUpdateAndNow (for JTextComponent, JCheckBox and others)","1007768":"faster eq function (if you never compare a BigInt to an Int or Long), LIVE","1008563":"nohupJavax using module - NOTE: starts a different thread; don't use directly before System.exit (use directNohupJavax instead)","1009427":"setCaretPosition - wrapper for JTextComponent.setCaretPosition with pcall","1009590":"infoBoxAndReturn","1009591":"setAndSave - set global variable and save it with save()","1009806":"addToContainer - does not call wrap()","1010200":"standardFunctionNames - in declaration order","1011960":"logQuotedWithDate - synonym of logQuotedWithTime","1012060":"snippetTitle - synonym of getSnippetTitle","1012345":"getServerTranspiledWithoutLibs","1013224":"setToolTip - extended synonym of setToolTipText","1014599":"inputText - show input form for single-line text, call action on enter (in new thread)","1014655":"callFInNewThread - synonym of callF_thread - call a Runnable, func, voidfunc or function name in new thread","1014776":"butterReload - reload web bot on main server","1014778":"lastTiming_format100ms","1014779":"selectSnippetID","1014786":"testBracketHygieneExt - synonym of testBracketHygiene2 - shows where the bad bracket is","1014789":"deriveFont","1014801":"allJavaKeywords","1015171":"hideWindow","1015329":"snippetType_JavaXDesktop","1015552":"getCaretPosition","1015554":"LiveValue","1015555":"mapLiveValue - apply function to LiveValue","1015556":"SimpleLiveValue","1015558":"concatListsToSet (HashSet)","1015559":"deepWords - synonym of words2 - deeply extract all words (and numbers) from string","1015561":"selectFile - synonym of inputFilePath - show input form for a file path","1015563":"SFEditor - Snippet\/File Editor","1015971":"dm_fieldLiveValue - live-value for a field in DynModule. should also work with transient fields","1016116":"EditorFrame2 (not actually a frame itself, can be put in JInternalFrame or JFrame)","1016119":"internalFrameActive","1016128":"rstWithDelay - ReliableSingleThread with a pre-delay - TODO: reduce double-triggering","1016195":"jimagebutton - synonym of jimageButton","1016305":"tempDisableButton","1016460":"dm_showNewModule","1016522":"onPossiblyInternalFrameDeactivated","1016594":"dm_addDynamicModuleDialog2 - use this to add a module using just the snippet ID","1016613":"jComboBox_javaxTypes","1016721":"scrollAllTheWayDown","1016816":"dm_moduleLibID - module library ID of current or other module","1017188":"dm_vis - synonym of dm_getVisualization","1017217":"dm_frame - get module's (internal) frame","1018862":"dm_rst - make ReliableSingleThread for DynModule. automatically enters() before calling the runnable","1019403":"getMenuBar","1019503":"htmlDecode - synonym of htmldecode","1019506":"haveMuricaPassword (historical name since when the server was in 'murica)","1019511":"minimalFrameSize - adjust size once only. works for JInternalFrame too","1019791":"dm_reloadAllModulesWithSnippetID","1021039":"countComponents - synonym of numberOfChildren","1024021":"with - synonym of withComputing","1024202":"JFastLogView_noWrap","1024212":"showText_fast_noWrap - use JFastLogView_noWrap","1027992":"dropCarriageReturn - converts Windows to Unix line breaks AND drops single \\r's (screws up the Java compiler)","1028378":"transpileHereOrOnServer","1029623":"openInBrowser - synonym of openPlatformBrowser","1029638":"setBorderPainted","1034547":"ctrlKeyStroke","1034623":"mainTranspilationSnippetFromSrc"} at main.fail(m1008705.java:1589) at main$jsonDecode_Y.fail_base(m1008705.java:14008) at main$jsonDecode_Y.fail(m1008705.java:14006) at main$jsonDecode_Y.parseExpr(m1008705.java:14058) at main$jsonDecode_Y.parse(m1008705.java:14012) at main.jsonDecode(m1008705.java:13990) at main.jsonDecodeMap(m1008705.java:12844) at main.getSnippetTitles(m1008705.java:10820) at main$JavaXHyperlinker.codeToHTML(m1008705.java:6209) at main.html2(m1008705.java:85) at main.html(m1008705.java:67) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at main.invokeMethod(m1008705.java:1601) at main.callOpt_withVarargs(m1008705.java:4387) at main.callOpt(m1008705.java:3326) at main.callHtmlMethod2(m1008705.java:11404) at main$MyHTTPD$1.get(m1008705.java:7337) at main$MyHTTPD$1.get(m1008705.java:1) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at main.invokeMethod(m1008705.java:1601) at main.safeCallF(m1008705.java:642) at main.callF(m1008705.java:611) at main$MyHTTPD.serve(m1008705.java:7373) at main$NanoHTTPD.serve_2(m1008705.java:9572) at main$NanoHTTPD.serve(m1008705.java:9553) at main$NanoHTTPD$HTTPSession.execute(m1008705.java:8453) at main$NanoHTTPD$ClientHandler.run(m1008705.java:7829) at java.base/java.lang.Thread.run(Thread.java:833)
Began life as a copy of #1015563
download show line numbers debug dex old transpilations
Travelled to 17 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, hpgrupgrauku, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1016118 |
| Snippet name: | Code Editor [edits snippets and files] |
| Eternal ID of this version: | #1016118/114 |
| Text MD5: | 4b2f9396554283499d5676e9678f5e6e |
| Transpilation MD5: | df51796755f586a85e1e8106f4ed2e5e |
| Author: | stefan |
| Category: | javax / gui |
| Type: | JavaX source code (Dynamic Module) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-02-26 17:15:17 |
| Source code size: | 12366 bytes / 380 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1307 / 14466 |
| Version history: | 113 change(s) |
| Referenced in: | [show references] |