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
This commit is contained in:
per1234
2018-08-27 06:08:41 -07:00
committed by Rotzbua
parent ea7ee3f3da
commit c4c58f4830

View File

@@ -104,7 +104,7 @@ PICC_ReadCardSerial KEYWORD2
#######################################
#######################################
LITERAL1 Constants
# LITERAL1 Constants
#######################################
CommandReg LITERAL1
ComIEnReg LITERAL1