Skip to content

Commit ffff480

Browse files
author
Federico Fissore
committed
Forgot to specify colour for LITERAL_BOOLEAN token type. Fixes arduino#3346
1 parent 4813e57 commit ffff480

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

app/src/processing/app/syntax/SketchTextArea.java

+1
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ public void setTheme(String name) throws IOException {
126126
setSyntaxTheme(TokenTypes.COMMENT_EOL, "comment1");
127127
setSyntaxTheme(TokenTypes.COMMENT_KEYWORD, "comment1");
128128
setSyntaxTheme(TokenTypes.COMMENT_MARKUP, "comment1");
129+
setSyntaxTheme(TokenTypes.LITERAL_BOOLEAN, "literal_boolean");
129130
setSyntaxTheme(TokenTypes.LITERAL_CHAR, "literal_char");
130131
setSyntaxTheme(TokenTypes.LITERAL_STRING_DOUBLE_QUOTE, "literal_string_double_quote");
131132
}

build/shared/lib/theme/theme.txt

+1
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ editor.literal1.style = #006699,plain
9797
editor.literal2.style = #00979C,plain
9898
editor.variable.style = #00979C,plain
9999
editor.reserved_word_2.style = #00979C,plain
100+
editor.literal_boolean.style = #00979C,plain
100101
editor.literal_char.style = #00979C,plain
101102
editor.literal_string_double_quote.style = #00979C,plain
102103

0 commit comments

Comments
 (0)