Skip to content
This repository was archived by the owner on Aug 4, 2020. It is now read-only.

Commit 7b5c29e

Browse files
authored
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
1 parent 8bd6dd2 commit 7b5c29e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

keywords.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Datatypes (KEYWORD1)
77
#######################################
88

9-
Xively KEYWORD1
9+
Xively KEYWORD1
1010
XivelyClient KEYWORD1
1111
XivelyDatastream KEYWORD1
1212
XivelyFeed KEYWORD1
@@ -30,7 +30,7 @@ size KEYWORD2
3030
#######################################
3131
# Constants (LITERAL1)
3232
#######################################
33-
DATASTREAM_STRING 0 LITERAL1
34-
DATASTREAM_BUFFER 1 LITERAL1
35-
DATASTREAM_FLOAT 2 LITERAL1
33+
DATASTREAM_STRING LITERAL1
34+
DATASTREAM_BUFFER LITERAL1
35+
DATASTREAM_FLOAT LITERAL1
3636

0 commit comments

Comments
 (0)