From c2e3cd5a2d65bccf9d66f2b0fefa03886d0046a2 Mon Sep 17 00:00:00 2001 From: per1234 Date: Fri, 3 Aug 2018 10:20:43 -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 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/keywords.txt b/keywords.txt index 2d172aa..4860952 100644 --- a/keywords.txt +++ b/keywords.txt @@ -6,16 +6,16 @@ # Datatypes (KEYWORD1) ####################################### -Bounce KEYWORD1 +Bounce KEYWORD1 ####################################### # Methods and Functions (KEYWORD2) ####################################### -update KEYWORD2 -interval KEYWORD2 -read KEYWORD2 -attach KEYWORD2 +update KEYWORD2 +interval KEYWORD2 +read KEYWORD2 +attach KEYWORD2 rose KEYWORD2 fell KEYWORD2 duration KEYWORD2 -- 2.54.0