From 1390b73218b3e8c5bd7f39f17ac5bc4f5d63bb28 Mon Sep 17 00:00:00 2001 From: per1234 Date: Mon, 19 Feb 2018 23:39:35 -0800 Subject: [PATCH] Use correct separator in keywords.txt The Arduino IDE currently requires the use of a tab separator between the name and identifier. Without this tab the keyword is not highlighted. Reference: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords --- keywords.txt | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/keywords.txt b/keywords.txt index 446de6c..ccc018d 100644 --- a/keywords.txt +++ b/keywords.txt @@ -15,7 +15,7 @@ ESPUI KEYWORD1 label KEYWORD2 button KEYWORD2 -switcher KEYWORD2 +switcher KEYWORD2 pad KEYWORD2 slider KEYWORD2 @@ -31,18 +31,18 @@ updateSwitcher KEYWORD2 # Constants (LITERAL1) ####################################### -B_DOWN LITERAL1 -B_UP LITERAL1 -P_LEFT_DOWN LITERAL1 -P_LEFT_UP LITERAL1 -P_RIGHT_DOWN LITERAL1 -P_RIGHT_UP LITERAL1 -P_FOR_DOWN LITERAL1 -P_FOR_UP LITERAL1 -P_BACK_DOWN LITERAL1 -P_BACK_UP LITERAL1 -P_CENTER_DOWN LITERAL1 -P_CENTER_UP LITERAL1 -S_ACTIVE LITERAL1 -S_INACTIVE LITERAL1 -SL_VALUE LITERAL1 +B_DOWN LITERAL1 +B_UP LITERAL1 +P_LEFT_DOWN LITERAL1 +P_LEFT_UP LITERAL1 +P_RIGHT_DOWN LITERAL1 +P_RIGHT_UP LITERAL1 +P_FOR_DOWN LITERAL1 +P_FOR_UP LITERAL1 +P_BACK_DOWN LITERAL1 +P_BACK_UP LITERAL1 +P_CENTER_DOWN LITERAL1 +P_CENTER_UP LITERAL1 +S_ACTIVE LITERAL1 +S_INACTIVE LITERAL1 +SL_VALUE LITERAL1