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