From 4e1b4a063ccf395f6f935525f24a896b2dae1a63 Mon Sep 17 00:00:00 2001 From: per1234 Date: Sat, 14 Jul 2018 18:03:20 -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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/keywords.txt b/keywords.txt index c6b21ee..f17ef61 100644 --- a/keywords.txt +++ b/keywords.txt @@ -1,4 +1,4 @@ -WS2812 KEYWORD1 -Pixel_t KEYWORD1 -init KEYWORD2 -show KEYWORD2 +WS2812 KEYWORD1 +Pixel_t KEYWORD1 +init KEYWORD2 +show KEYWORD2