From c6c89289a7f31ff98b31c9c4b34769351e3fc90e Mon Sep 17 00:00:00 2001 From: per1234 Date: Tue, 17 Jul 2018 09:01:54 -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 --- keywords.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/keywords.txt b/keywords.txt index d301182..9897c7a 100644 --- a/keywords.txt +++ b/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