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 committed Sep 9, 2018
1 parent ac47b5f commit a036603
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions keywords.txt
Expand Up @@ -22,11 +22,11 @@ get_register KEYWORD2
#######################################
# Constants (LITERAL1)
#######################################
GATE LITERAL1
SYNC LITERAL1
RINGMOD LITERAL1
TEST LITERAL1
GATE LITERAL1
SYNC LITERAL1
RINGMOD LITERAL1
TEST LITERAL1
TRIANGLE LITERAL1
SAWTOOTH LITERAL1
RECTANGLE LITERAL1
NOISE LITERAL1
NOISE LITERAL1

0 comments on commit a036603

Please sign in to comment.