From 8d8b8c86bd5d38c231e8dca4d6859adc897aeffc Mon Sep 17 00:00:00 2001 From: per1234 Date: Sun, 9 Sep 2018 04:58:19 -0700 Subject: [PATCH] Use a single tab field separator in keywords.txt Each field of keywords.txt is separated by a single true tab. When you use multiple tabs it causes the field to be interpreted as empty. On Arduino IDE 1.6.5 and newer an empty KEYWORD_TOKENTYPE causes the default editor.function.style highlighting to be used (as with KEYWORD2, KEYWORD3). On Arduino IDE 1.6.4 and older it causes the keyword to not be recognized for any special highlighting. Reference: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords --- keywords.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keywords.txt b/keywords.txt index 1db715f..46657e2 100755 --- a/keywords.txt +++ b/keywords.txt @@ -50,7 +50,7 @@ serialWriteTimeOut KEYWORD2 ####################################### # Constants (LITERAL1) ####################################### -OPENBCI_MODE_DEVICE LITERAL1 +OPENBCI_MODE_DEVICE LITERAL1 OPENBCI_MODE_HOST LITERAL1 OPENBCI_MODE_PASS_THRU LITERAL1 ORPM_DEVICE_SERIAL_OVERFLOW LITERAL1