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 08ffcba commit 2efeb78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@
# Constants (LITERAL1)
#######################################

I2C_MS5607 LITERAL1
I2C_MS5607 LITERAL1
MS5xxx_CMD_RESET LITERAL1
MS5xxx_CMD_ADC_READ LITERAL1
MS5xxx_CMD_ADC_CONV LITERAL1
MS5xxx_CMD_ADC_D1 LITERAL1
MS5xxx_CMD_ADC_D1 LITERAL1
MS5xxx_CMD_ADC_D2 LITERAL1
MS5xxx_CMD_ADC_256 LITERAL1
MS5xxx_CMD_ADC_512 LITERAL1
Expand Down

0 comments on commit 2efeb78

Please sign in to comment.