Uses 3874K of libraries. Compilation Failed (6705L/46K).
!752 import org.fife.ui.autocomplete.*; p-substance { editJavaXSnippet_Editor editor = editJavaXSnippet("#636"); new DefaultCompletionProvider provider; provider.addCompletion(new BasicCompletion(provider, "abstract")); provider.addCompletion(new BasicCompletion(provider, "assert")); provider.addCompletion(new BasicCompletion(provider, "break")); provider.addCompletion(new BasicCompletion(provider, "case")); // ... etc ... provider.addCompletion(new BasicCompletion(provider, "transient")); provider.addCompletion(new BasicCompletion(provider, "try")); provider.addCompletion(new BasicCompletion(provider, "void")); provider.addCompletion(new BasicCompletion(provider, "volatile")); provider.addCompletion(new BasicCompletion(provider, "while")); // Add a couple of "shorthand" completions. These completions don't // require the input text to be the same thing as the replacement text. provider.addCompletion(new ShorthandCompletion(provider, "sysout", "System.out.println(", "System.out.println(")); provider.addCompletion(new ShorthandCompletion(provider, "syserr", "System.err.println(", "System.err.println(")); AutoCompletion ac = new AutoCompletion(provider); ac.install(editor.textArea); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1004661 |
Snippet name: | Test auto-completion in RSyntaxTextArea [WORKS!] - But only with predefined completions |
Eternal ID of this version: | #1004661/2 |
Text MD5: | d46c6770813844a83d7f55ee4edd1808 |
Transpilation MD5: | 625a51f7103849fed76f24e9b8e34045 |
Author: | stefan |
Category: | javax / editors |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-18 21:33:23 |
Source code size: | 1288 bytes / 29 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 567 / 616 |
Version history: | 1 change(s) |
Referenced in: | -