From d597030a1c7118a0edb089d9f6aa8f7d91a46301 Mon Sep 17 00:00:00 2001 From: per1234 Date: Sun, 15 Jul 2018 01:34:15 -0700 Subject: [PATCH] Use a single tab field separator in keywords.txt Each field of keywords.txt is separated by a single true tab. When you use multiple tabs it causes the field to be interpreted as empty. On Arduino IDE 1.6.5 and newer an empty KEYWORD_TOKENTYPE causes the default editor.function.style coloration to be used (as with KEYWORD2, KEYWORD3, LITERAL2). On Arduino IDE 1.6.4 and older it causes the keyword to not be recognized for any special coloration. Reference: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords --- keywords.txt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/keywords.txt b/keywords.txt index 64a394b..5de7bb6 100644 --- a/keywords.txt +++ b/keywords.txt @@ -1,18 +1,18 @@ # classes -P20F04D KEYWORD1 +P20F04D KEYWORD1 # functions -begin KEYWORD2 -clearScreen KEYWORD2 -setScreen KEYWORD2 +begin KEYWORD2 +clearScreen KEYWORD2 +setScreen KEYWORD2 setScreenNoLatch KEYWORD2 -appendCol KEYWORD2 -recalc KEYWORD2 -redraw KEYWORD2 -enable KEYWORD2 -disable KEYWORD2 +appendCol KEYWORD2 +recalc KEYWORD2 +redraw KEYWORD2 +enable KEYWORD2 +disable KEYWORD2 setBrightness KEYWORD2 -shiftBlock KEYWORD2 +shiftBlock KEYWORD2 blinkAll_2Bytes KEYWORD2 testSwapArray KEYWORD2 testShiftArray KEYWORD2