Some small improvements

This commit is contained in:
SuspiciousActivity committed 2019-02-28 15:23:07 +01:00
1 parent e4cc2e5489
commit 123ad89c0d
10 files changed
+112 -44

No files matched your search

+4 -4
View File
@@ -70,10 +70,10 @@
<style token="VARIABLE" fg="ff9900" bold="true"/>
<style token="WHITESPACE" fg="eeeeee"/>
<style token="ERROR_IDENTIFIER" fg="eeeeee" bg="ffcccc"/>
<style token="ERROR_NUMBER_FORMAT" fg="eeeeee" bg="ffcccc"/>
<style token="ERROR_STRING_DOUBLE" fg="eeeeee" bg="ffcccc"/>
<style token="ERROR_CHAR" fg="eeeeee" bg="ffcccc"/>
<style token="ERROR_IDENTIFIER" fg="eeeeee" bg="003333"/>
<style token="ERROR_NUMBER_FORMAT" fg="eeeeee" bg="003333"/>
<style token="ERROR_STRING_DOUBLE" fg="eeeeee" bg="003333"/>
<style token="ERROR_CHAR" fg="eeeeee" bg="003333"/>
</tokenStyles>
</RSyntaxTheme>
@@ -819,7 +819,7 @@ public class ErrorStrip extends JPanel {
// highest priority (e.g. parsing errors will usually be red).
Color borderColor = getColor();
if (borderColor == null) {
borderColor = Color.DARK_GRAY;
borderColor = new Color(0x2F2F2F);
}
Color fillColor = getBrighterColor(borderColor);
int w = getWidth();
+1 -1
View File
@@ -136,7 +136,7 @@ public class RTextAreaUI extends BasicTextAreaUI {
if (c == null) { // Not Nimbus, but still need a value - fallback
c = UIManager.getColor("textInactiveText");
if (c == null) {
c = new ColorUIResource(Color.DARK_GRAY);
c = new ColorUIResource(new Color(0x2F2F2F));
}
}
editor.setDisabledTextColor(c);