Uses 1485K of libraries. Click here for Pure Java version (5270L/29K).
1 | sbool initSyntaxTextArea_numPadFix = true; |
2 | |
3 | svoid initSyntaxTextArea(RSyntaxTextArea textArea) swing { |
4 | if (initSyntaxTextArea_numPadFix) |
5 | new NumPadFixingInputMap().replaceOn(textArea); |
6 | textArea.setSyntaxEditingStyle(SyntaxConstants.SYNTAX_STYLE_JAVA); |
7 | textArea.setHighlightCurrentLine(false); |
8 | textArea.setTabSize(2); |
9 | textArea.setTabsEmulated(true); |
10 | textArea.setCodeFoldingEnabled(false); |
11 | textArea.setMarkOccurrences(true); |
12 | } |
Began life as a copy of #1015779
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1034705 |
Snippet name: | initSyntaxTextArea |
Eternal ID of this version: | #1034705/2 |
Text MD5: | 1cc4ec72cb97e861c8fba83d8ed384c5 |
Transpilation MD5: | 34feae28be6cb92eb04d4d960331d846 |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-05 23:35:14 |
Source code size: | 453 bytes / 12 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 153 / 211 |
Version history: | 1 change(s) |
Referenced in: | [show references] |