Skip to content

Commit cee8587

Browse files
authored
Merge pull request #8732 from jglick/mod-record-declaration
Define `mod-record-declaration` in Java editor themes
2 parents 3fef97a + 4c947c2 commit cee8587

File tree

9 files changed

+13
-0
lines changed

9 files changed

+13
-0
lines changed

ide/defaults/src/org/netbeans/modules/defaults/BlueTheme-Java-fontsColors.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
<fontcolor name="mod-annotation-type" default="interface" />
8585
<fontcolor name="mod-enum-declaration" default="enum"/>
8686
<fontcolor name="mod-enum" default="enum" />
87+
<fontcolor name="mod-record-declaration" default="record" />
8788

8889
<fontcolor name="mod-unused" foreColor="gray" default="unused" />
8990
<fontcolor name="mod-deprecated" default="deprecated" />

ide/defaults/src/org/netbeans/modules/defaults/CityLights-Java-fontsColors.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
<fontcolor name="mod-annotation-type" default="interface" />
5858
<fontcolor name="mod-enum-declaration" default="enum"/>
5959
<fontcolor name="mod-enum" default="enum" />
60+
<fontcolor name="mod-record-declaration" default="record" />
6061

6162
<fontcolor name="mod-unused" default="unused" />
6263
<fontcolor name="mod-deprecated" default="deprecated" />

ide/defaults/src/org/netbeans/modules/defaults/CityLights-fontsColorsDefaults.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
<fontcolor name="class" />
6060
<fontcolor name="interface" />
6161
<fontcolor name="enum" />
62+
<fontcolor name="record" />
6263

6364
<fontcolor name="unused" foreColor="gray"/>
6465
<fontcolor name="deprecated" strikeThrough="404040" />

ide/defaults/src/org/netbeans/modules/defaults/NetBeans55-Java-fontsColors.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
<fontcolor name="mod-annotation-type" default="interface" />
5858
<fontcolor name="mod-enum-declaration" default="enum"/>
5959
<fontcolor name="mod-enum" default="enum" />
60+
<fontcolor name="mod-record-declaration" default="record" />
6061

6162
<fontcolor name="mod-unused" default="unused" />
6263
<fontcolor name="mod-deprecated" default="deprecated" />

ide/defaults/src/org/netbeans/modules/defaults/NetBeans55-fontsColorsDefaults.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
<fontcolor name="class" />
6161
<fontcolor name="interface" />
6262
<fontcolor name="enum" />
63+
<fontcolor name="record" />
6364

6465
<fontcolor name="unused" foreColor="gray"/>
6566
<fontcolor name="deprecated" strikeThrough="404040" />

ide/defaults/src/org/netbeans/modules/defaults/NetBeansEarth-Java-fontsColors.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@
7272
<fontcolor name="mod-enum-declaration" >
7373
<font style="bold"/>
7474
</fontcolor>
75+
<fontcolor name="mod-record-declaration" >
76+
<font style="bold"/>
77+
</fontcolor>
7578

7679
<fontcolor name="mod-field" default="field"/> <!-- "54A054" -->
7780
<fontcolor name="mod-local-variable"/>

ide/textmate.lexer/src/org/netbeans/modules/textmate/lexer/resources/fontsColors.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
<fontcolor name="mod-struct-declaration" default="identifier"/>
8080
<fontcolor name="mod-enum-declaration" default="identifier"/>
8181
<fontcolor name="mod-class-declaration" default="identifier"/>
82+
<!-- TODO is mod-record-declaration needed here? -->
8283
<fontcolor name="mod-typeAlias-declaration" default="identifier"/>
8384
<fontcolor name="mod-typeParameter-declaration" default="identifier"/>
8485
<fontcolor name="mod-field-declaration" default="field"/>

java/java.editor/src/org/netbeans/modules/java/editor/resources/fontsColors.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@
6666
<fontcolor name="mod-enum-declaration" default="identifier">
6767
<font style="bold" />
6868
</fontcolor>
69+
<fontcolor name="mod-record-declaration" default="identifier">
70+
<font style="bold" />
71+
</fontcolor>
6972

7073
<fontcolor name="mod-field" default="field"/>
7174
<fontcolor name="mod-record-component" default="field"/>

platform/o.n.swing.laf.flatlaf/src/org/netbeans/swing/laf/flatlaf/fontscolors/FlatLafDark-Java-tokenColorings.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
<fontcolor name="mod-private"/>
5858
<fontcolor name="mod-protected"/>
5959
<fontcolor name="mod-public"/>
60+
<fontcolor name="mod-record-declaration" default="identifier"/>
6061
<fontcolor name="mod-static"><font style="italic"/></fontcolor>
6162
<fontcolor name="mod-unused" foreColor="gray" waveUnderlined="gray"/>
6263
<fontcolor name="number" default="number"/>

0 commit comments

Comments
 (0)