Uses 2258K of libraries. Click here for Pure Java version (5599L/37K/133K).
1 | !7 |
2 | |
3 | lib 1013041 // RSyntaxTextArea |
4 | |
5 | import org.fife.ui.rtextarea.*; |
6 | import org.fife.ui.rsyntaxtextarea.*; |
7 | |
8 | p {
|
9 | RSyntaxTextArea textArea = new RSyntaxTextArea(20, 60); |
10 | textArea.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_JAVA); |
11 | textArea.setCodeFoldingEnabled(true); |
12 | textArea.setTabSize(2); |
13 | textArea.setTabsEmulated(true); // Spaces are MUCH better |
14 | RTextScrollPane sp = new RTextScrollPane(textArea); |
15 | showFrame(sp); |
16 | } |
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1003436 |
| Snippet name: | Test RSyntaxTextArea (seems to work) |
| Eternal ID of this version: | #1003436/3 |
| Text MD5: | 0d1959761a7477a493dd8f7d65df0fb4 |
| Transpilation MD5: | 07e9b79c7cc6f746ebd81f73b2e21a2d |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX source code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-12-22 15:31:40 |
| Source code size: | 451 bytes / 16 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 816 / 1357 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |