Skip to content

Use a single tab field separator in keywords.txt#7

Merged
wizard97 merged 1 commit intowizard97:masterfrom
per1234:keywords_txt-multiple-tabs
Sep 9, 2018
Merged

Use a single tab field separator in keywords.txt#7
wizard97 merged 1 commit intowizard97:masterfrom
per1234:keywords_txt-multiple-tabs

Conversation

@per1234
Copy link
Copy Markdown
Contributor

@per1234 per1234 commented Sep 9, 2018

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

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
@wizard97
Copy link
Copy Markdown
Owner

wizard97 commented Sep 9, 2018

Great, thank you!

@wizard97 wizard97 merged commit 9d7d0a7 into wizard97:master Sep 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants