From 593e8ab273357f5ab3ab1b3c8f3e75fc2b479832 Mon Sep 17 00:00:00 2001 From: per1234 Date: Tue, 17 Jul 2018 04:25:07 -0700 Subject: [PATCH] Use correct field separator in keywords.txt The Arduino IDE requires the use of a single true tab separator between the keyword name and identifier. When spaces are used rather than a true tab the keyword is not highlighted. Reference: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords --- arduino_uip/keywords.txt | 6 +++--- misty_arduino/keywords.txt | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arduino_uip/keywords.txt b/arduino_uip/keywords.txt index 83ff854..a42f4a9 100644 --- a/arduino_uip/keywords.txt +++ b/arduino_uip/keywords.txt @@ -6,9 +6,9 @@ # Datatypes (KEYWORD1) ####################################### -UIPEthernet KEYWORD1 -UIPServer KEYWORD1 -UIPClient KEYWORD1 +UIPEthernet KEYWORD1 +UIPServer KEYWORD1 +UIPClient KEYWORD1 ####################################### # Methods and Functions (KEYWORD2) diff --git a/misty_arduino/keywords.txt b/misty_arduino/keywords.txt index d301182..9897c7a 100644 --- a/misty_arduino/keywords.txt +++ b/misty_arduino/keywords.txt @@ -6,7 +6,7 @@ # Datatypes (KEYWORD1) ####################################### -Xively KEYWORD1 +Xively KEYWORD1 XivelyClient KEYWORD1 XivelyDatastream KEYWORD1 XivelyFeed KEYWORD1 @@ -30,7 +30,7 @@ size KEYWORD2 ####################################### # Constants (LITERAL1) ####################################### -DATASTREAM_STRING 0 LITERAL1 -DATASTREAM_BUFFER 1 LITERAL1 -DATASTREAM_FLOAT 2 LITERAL1 +DATASTREAM_STRING LITERAL1 +DATASTREAM_BUFFER LITERAL1 +DATASTREAM_FLOAT LITERAL1