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 authored Jul 15, 2018
1 parent ddd0bfa commit 1ff2679
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
# Class
#######################################

VEML6075 KEYWORD1
VEML6075 KEYWORD1

#######################################
# Methods
#######################################

getUVA KEYWORD2
getUVB KEYWORD2
getUVDummy KEYWORD2
getUVcomp1 KEYWORD2
getUVcomp2 KEYWORD2
getDevID KEYWORD2
getUVA KEYWORD2
getUVB KEYWORD2
getUVDummy KEYWORD2
getUVcomp1 KEYWORD2
getUVcomp2 KEYWORD2
getDevID KEYWORD2

#######################################
# Constants
Expand Down

0 comments on commit 1ff2679

Please sign in to comment.