From 32671942c10cd279315ae4a71a5c046e7ed73144 Mon Sep 17 00:00:00 2001 From: per1234 Date: Tue, 17 Jul 2018 03:31:54 -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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keywords.txt b/keywords.txt index 5f1352d..288d807 100644 --- a/keywords.txt +++ b/keywords.txt @@ -6,13 +6,13 @@ # Datatypes (KEYWORD1) ####################################### -TouchSensor KEYWORD1 +TouchSensor KEYWORD1 ####################################### # Methods and Functions (KEYWORD2) ####################################### -measure KEYWORD2 +measure KEYWORD2 ####################################### # Instances (KEYWORD2)