Skip to content

Commit

Permalink
Use a single tab field separator in keywords.txt
Browse files Browse the repository at this point in the history
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
  • Loading branch information
per1234 authored Sep 9, 2018
1 parent dc529d2 commit f75ffad
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
########################################
# Datatypes (KEYWORD1)
########################################
ADB922S KEYWORD1

ADB922S KEYWORD1
KGPS KEYWORD1

TASK_LIST KEYWORD1
Expand Down Expand Up @@ -102,14 +102,14 @@ PORT KEYWORD2
########################################
# Constants (LITERAL1)
########################################
BPS_9600 LITERAL1
BPS_19200 LITERAL1
BPS_57600 LITERAL1
BPS_115200 LITERAL1
DR2 LITERAL1
DR3 LITERAL1
DR4 LITERAL1
DR5 LITERAL1
BPS_9600 LITERAL1
BPS_19200 LITERAL1
BPS_57600 LITERAL1
BPS_115200 LITERAL1
DR2 LITERAL1
DR3 LITERAL1
DR4 LITERAL1
DR5 LITERAL1

KashiwaGeeks LITERAL1
KashiwaGeeks LITERAL1

0 comments on commit f75ffad

Please sign in to comment.