We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5cebf99 commit f4cd50bCopy full SHA for f4cd50b
app/src/processing/app/syntax/PdeKeywords.java
@@ -98,7 +98,7 @@ static private void getKeywords(InputStream input) throws Exception {
98
//String htmlFilename = second.substring(tab + 1).trim();
99
String coloring = pieces[1].trim();
100
101
- if (coloring.length() > 0) {
+ if (coloring.length() > 0 && Character.isDigit(coloring.charAt(coloring.length() - 1))) {
102
// text will be KEYWORD or LITERAL
103
boolean isKey = (coloring.charAt(0) == 'K');
104
// KEYWORD1 -> 0, KEYWORD2 -> 1, etc
0 commit comments