From 562f4381988b6e713e03c6563f4d1659f8f2544d Mon Sep 17 00:00:00 2001 From: per1234 Date: Sun, 15 Jul 2018 01:34:23 -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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/keywords.txt b/keywords.txt index 889bf68..1271b67 100644 --- a/keywords.txt +++ b/keywords.txt @@ -1,12 +1,12 @@ RFIDRdm630 KEYWORD1 -RFIDTag KEYWORD1 +RFIDTag KEYWORD1 isAvailable KEYWORD2 -getTag KEYWORD2 +getTag KEYWORD2 getCardNumber KEYWORD2 -isValid KEYWORD2 +isValid KEYWORD2