mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
@ -98,7 +98,7 @@ public class PdeKeywords extends CTokenMarker {
|
|||||||
//String htmlFilename = second.substring(tab + 1).trim();
|
//String htmlFilename = second.substring(tab + 1).trim();
|
||||||
String coloring = pieces[1].trim();
|
String coloring = pieces[1].trim();
|
||||||
|
|
||||||
if (coloring.length() > 0) {
|
if (coloring.length() > 0 && Character.isDigit(coloring.charAt(coloring.length() - 1))) {
|
||||||
// text will be KEYWORD or LITERAL
|
// text will be KEYWORD or LITERAL
|
||||||
boolean isKey = (coloring.charAt(0) == 'K');
|
boolean isKey = (coloring.charAt(0) == 'K');
|
||||||
// KEYWORD1 -> 0, KEYWORD2 -> 1, etc
|
// KEYWORD1 -> 0, KEYWORD2 -> 1, etc
|
||||||
|
Reference in New Issue
Block a user