From c95c152faf04024626a8274a519f1d865cf2049d Mon Sep 17 00:00:00 2001 From: per1234 Date: Tue, 17 Jul 2018 09:01:57 -0700 Subject: [PATCH] Remove leading space from keywords.txt identifier Each field of keywords.txt is separated by a single true tab. Leading spaces on a keyword identifier causes it to not be recognized by the Arduino IDE. On Arduino IDE 1.6.5 and newer an unrecognized keyword identifier causes the default editor.function.style highlighting to be used (as with KEYWORD2, KEYWORD3). Reference: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords --- keywords.txt | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/keywords.txt b/keywords.txt index 4375bf0..f611d3c 100644 --- a/keywords.txt +++ b/keywords.txt @@ -1,14 +1,14 @@ -SBUS KEYWORD1 +SBUS KEYWORD1 -begin KEYWORD2 -process KEYWORD2 -getChannel KEYWORD2 -getNormalizedChannel KEYWORD2 -getFailsafeStatus KEYWORD2 -getFrameLoss KEYWORD2 -getGoodFrames KEYWORD2 -getLostFrames KEYWORD2 -getDecoderErrorFrames KEYWORD2 +begin KEYWORD2 +process KEYWORD2 +getChannel KEYWORD2 +getNormalizedChannel KEYWORD2 +getFailsafeStatus KEYWORD2 +getFrameLoss KEYWORD2 +getGoodFrames KEYWORD2 +getLostFrames KEYWORD2 +getDecoderErrorFrames KEYWORD2 -SBUS_FAILSAFE_INACTIVE LITERAL1 -SBUS_FAILSAFE_ACTIVE LITERAL1 \ No newline at end of file +SBUS_FAILSAFE_INACTIVE LITERAL1 +SBUS_FAILSAFE_ACTIVE LITERAL1