Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

16
LINES

< > BotCompany Repo | #1003436 // Test RSyntaxTextArea (seems to work)

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Uses 2258K of libraries. Click here for Pure Java version (5599L/37K/133K).

!7

lib 1013041 // RSyntaxTextArea

import org.fife.ui.rtextarea.*;
import org.fife.ui.rsyntaxtextarea.*;

p {
  RSyntaxTextArea textArea = new RSyntaxTextArea(20, 60);
  textArea.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_JAVA);
  textArea.setCodeFoldingEnabled(true);
  textArea.setTabSize(2);
  textArea.setTabsEmulated(true); // Spaces are MUCH better
  RTextScrollPane sp = new RTextScrollPane(textArea);
  showFrame(sp);
}

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: 560 / 1044
Version history: 2 change(s)
Referenced in: #1013043 - Test RSyntaxTextArea with Substance (seems to work)
#1016210 - Reproduce Sticky Libraries Bug [OK]
#1016211 - Sticky Libraries Fix Spike [OK!!]
#1016218 - Sticky Libraries Fix Spike [shortened, OK]