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

17
LINES

< > BotCompany Repo | #1013043 // Test RSyntaxTextArea with Substance (seems to work)

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

Uses 6131K of libraries. Click here for Pure Java version (5708L/38K/137K).

!7

lib 1013041 // RSyntaxTextArea

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

p-substance {
  rsyntaxTextArea_fixNumPad();
  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);
}

Author comment

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: 374 / 514
Version history: 2 change(s)
Referenced in: [show references]