Skip to content

Commit

Permalink
Use correct field separator in keywords.txt
Browse files Browse the repository at this point in the history
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
  • Loading branch information
per1234 authored May 30, 2019
1 parent 5f818a8 commit fd73940
Showing 1 changed file with 39 additions and 39 deletions.
78 changes: 39 additions & 39 deletions keywords.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
DEBUG_LEVEL_NONE LITERAL1
DEBUG_LEVEL_DEFAULT LITERAL1
DEBUG_LEVEL_VERBOSE LITERAL1
READ_TOTAL LITERAL1
READ_ONLY_ACTIVE LITERAL1
READ_ALL LITERAL1

0 comments on commit fd73940

Please sign in to comment.