From fd7394003b98a9b85f6f473884b5defe95210f8b Mon Sep 17 00:00:00 2001 From: per1234 Date: Thu, 30 May 2019 01:50:27 -0700 Subject: [PATCH] Use correct field separator in keywords.txt The Arduino IDE requires the use of a single true tab separator between the keyword name and identifier. When spaces are used rather than a true tab, the keyword is not highlighted. Reference: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords --- keywords.txt | 78 ++++++++++++++++++++++++++-------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) diff --git a/keywords.txt b/keywords.txt index 7f7f2f6..7cd047c 100644 --- a/keywords.txt +++ b/keywords.txt @@ -6,52 +6,52 @@ # Datatypes (KEYWORD1) ####################################### -KWP2000 KEYWORD1 +KWP2000 KEYWORD1 ####################################### # Methods and Functions (KEYWORD2) ####################################### -enableDebug KEYWORD2 -setDebugLevel KEYWORD2 -disableDebug KEYWORD2 -enableDealerMode KEYWORD2 -dealerMode KEYWORD2 - -initKline KEYWORD2 -stopKline KEYWORD2 -requestSensorsData KEYWORD2 -readTroubleCodes KEYWORD2 -clearTroubleCodes KEYWORD2 -keepAlive KEYWORD2 - -handleRequest KEYWORD2 -accessTimingParameter KEYWORD2 -resetTimingParameter KEYWORD2 -changeTimingParameter KEYWORD2 - -printStatus KEYWORD2 -printSensorsData KEYWORD2 -printLastResponse KEYWORD2 -getStatus KEYWORD2 -getError KEYWORD2 -resetError KEYWORD2 -getGPS KEYWORD2 -getRPM KEYWORD2 -getSPEED KEYWORD2 -getTPS KEYWORD2 -getIAP KEYWORD2 -getIAT KEYWORD2 -getECT KEYWORD2 -getSTPS KEYWORD2 +enableDebug KEYWORD2 +setDebugLevel KEYWORD2 +disableDebug KEYWORD2 +enableDealerMode KEYWORD2 +dealerMode KEYWORD2 + +initKline KEYWORD2 +stopKline KEYWORD2 +requestSensorsData KEYWORD2 +readTroubleCodes KEYWORD2 +clearTroubleCodes KEYWORD2 +keepAlive KEYWORD2 + +handleRequest KEYWORD2 +accessTimingParameter KEYWORD2 +resetTimingParameter KEYWORD2 +changeTimingParameter KEYWORD2 + +printStatus KEYWORD2 +printSensorsData KEYWORD2 +printLastResponse KEYWORD2 +getStatus KEYWORD2 +getError KEYWORD2 +resetError KEYWORD2 +getGPS KEYWORD2 +getRPM KEYWORD2 +getSPEED KEYWORD2 +getTPS KEYWORD2 +getIAP KEYWORD2 +getIAT KEYWORD2 +getECT KEYWORD2 +getSTPS KEYWORD2 ####################################### # Constants (LITERAL1) ####################################### -DEBUG_LEVEL_NONE LITERAL1 -DEBUG_LEVEL_DEFAULT LITERAL1 -DEBUG_LEVEL_VERBOSE LITERAL1 -READ_TOTAL LITERAL1 -READ_ONLY_ACTIVE LITERAL1 -READ_ALL LITERAL1 \ No newline at end of file +DEBUG_LEVEL_NONE LITERAL1 +DEBUG_LEVEL_DEFAULT LITERAL1 +DEBUG_LEVEL_VERBOSE LITERAL1 +READ_TOTAL LITERAL1 +READ_ONLY_ACTIVE LITERAL1 +READ_ALL LITERAL1