From 04e9fa777d6c5c41a3f0b3d30c56d6ebdc2fe21d Mon Sep 17 00:00:00 2001 From: per1234 Date: Sun, 15 Jul 2018 04:02:40 -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 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/keywords.txt b/keywords.txt index 10756ff..723f8ba 100644 --- a/keywords.txt +++ b/keywords.txt @@ -5,8 +5,8 @@ ####################################### sevenSegmentDisplay KEYWORD1 -off KEYWORD2 -set KEYWORD2 -setSegment KEYWORD2 -COMMON_ANODE LITERAL1 -COMMON_CATHODE LITERAL1 +off KEYWORD2 +set KEYWORD2 +setSegment KEYWORD2 +COMMON_ANODE LITERAL1 +COMMON_CATHODE LITERAL1