summaryrefslogtreecommitdiff
path: root/src/main/java/cuchaz/enigma/config/Config.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/cuchaz/enigma/config/Config.java')
-rw-r--r--src/main/java/cuchaz/enigma/config/Config.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/main/java/cuchaz/enigma/config/Config.java b/src/main/java/cuchaz/enigma/config/Config.java
index 47bd0a7..47b5506 100644
--- a/src/main/java/cuchaz/enigma/config/Config.java
+++ b/src/main/java/cuchaz/enigma/config/Config.java
@@ -64,6 +64,7 @@ public class Config {
64 public void apply(Config config) { 64 public void apply(Config config) {
65 switch (this) { 65 switch (this) {
66 case DEFAULT: 66 case DEFAULT:
67 //Defaults found here: https://github.com/Sciss/SyntaxPane/blob/122da367ff7a5d31627a70c62a48a9f0f4f85a0a/src/main/resources/de/sciss/syntaxpane/defaultsyntaxkit/config.properties#L139
67 config.lineNumbersForeground = 0x333300; 68 config.lineNumbersForeground = 0x333300;
68 config.lineNumbersBackground = 0xEEEEFF; 69 config.lineNumbersBackground = 0xEEEEFF;
69 config.lineNumbersSelected = 0xCCCCEE; 70 config.lineNumbersSelected = 0xCCCCEE;
@@ -76,6 +77,8 @@ public class Config {
76 config.otherColorOutline = new AlphaColorEntry(0xB4B4B4, 1.0f); 77 config.otherColorOutline = new AlphaColorEntry(0xB4B4B4, 1.0f);
77 config.editorBackground = 0xFFFFFF; 78 config.editorBackground = 0xFFFFFF;
78 config.highlightColor = 0x3333EE; 79 config.highlightColor = 0x3333EE;
80 config.caretColor = 0x000000;
81 config.selectionHighlightColor = 0x000000;
79 config.stringColor = 0xCC6600; 82 config.stringColor = 0xCC6600;
80 config.numberColor = 0x999933; 83 config.numberColor = 0x999933;
81 config.operatorColor = 0x000000; 84 config.operatorColor = 0x000000;
@@ -98,6 +101,8 @@ public class Config {
98 config.otherColorOutline = new AlphaColorEntry(0xB4B4B4, 0.0f); 101 config.otherColorOutline = new AlphaColorEntry(0xB4B4B4, 0.0f);
99 config.editorBackground = 0x282A36; 102 config.editorBackground = 0x282A36;
100 config.highlightColor = 0xFF79C6; 103 config.highlightColor = 0xFF79C6;
104 config.caretColor = 0xF8F8F2;
105 config.selectionHighlightColor = 0xF8F8F2;
101 config.stringColor = 0xF1FA8C; 106 config.stringColor = 0xF1FA8C;
102 config.numberColor = 0xBD93F9; 107 config.numberColor = 0xBD93F9;
103 config.operatorColor = 0xF8F8F2; 108 config.operatorColor = 0xF8F8F2;
@@ -125,9 +130,10 @@ public class Config {
125 public AlphaColorEntry deobfuscatedColorOutline; 130 public AlphaColorEntry deobfuscatedColorOutline;
126 public AlphaColorEntry otherColorOutline; 131 public AlphaColorEntry otherColorOutline;
127 132
128 //Defaults found here: https://github.com/Sciss/SyntaxPane/blob/122da367ff7a5d31627a70c62a48a9f0f4f85a0a/src/main/resources/de/sciss/syntaxpane/defaultsyntaxkit/config.properties#L139
129 public Integer editorBackground; 133 public Integer editorBackground;
130 public Integer highlightColor; 134 public Integer highlightColor;
135 public Integer caretColor;
136 public Integer selectionHighlightColor;
131 137
132 public Integer stringColor; 138 public Integer stringColor;
133 public Integer numberColor; 139 public Integer numberColor;