From 13486f26818f297db866857904cf49f7750bf119 Mon Sep 17 00:00:00 2001 From: per1234 Date: Sun, 15 Jul 2018 02:39:34 -0700 Subject: [PATCH] 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 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 --- keywords.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/keywords.txt b/keywords.txt index 84be872..f0eb960 100644 --- a/keywords.txt +++ b/keywords.txt @@ -1,13 +1,13 @@ -Tasker KEYWORD1 +Tasker KEYWORD1 setTimeout KEYWORD2 setInterval KEYWORD2 setRepeated KEYWORD2 -cancel KEYWORD2 +cancel KEYWORD2 clearTimeout KEYWORD2 clearInterval KEYWORD2 scheduledIn KEYWORD2 -loop KEYWORD2 +loop KEYWORD2 isPrioritized KEYWORD2 setPrioritized KEYWORD2