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 coloration to be used (as with KEYWORD2, KEYWORD3, LITERAL2). On Arduino IDE 1.6.4 and older it causes the keyword to not be recognized for any special coloration.

Reference:
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords
  • Loading branch information
per1234 committed Jul 15, 2018
1 parent 568c6a7 commit 8eab867
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keywords.txt
Expand Up @@ -7,7 +7,7 @@
#######################################

Joystick KEYWORD1
JoystickStates KEYWORD1
JoystickStates KEYWORD1

#######################################
# Methods and Functions (KEYWORD2)
Expand Down

0 comments on commit 8eab867

Please sign in to comment.