Each field of keywords.txt is separated by a single true tab. Leading spaces on a keyword identifier causes it to not be recognized by the Arduino IDE. On Arduino IDE 1.6.5 and newer an unrecognized keyword identifier causes the default editor.function.style highlighting to be used (as with KEYWORD2, KEYWORD3). Reference: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords
31 lines
671 B
Plaintext
31 lines
671 B
Plaintext
#######################################
|
|
# Syntax Coloring Map For Bounce2
|
|
#######################################
|
|
|
|
#######################################
|
|
# Datatypes (KEYWORD1)
|
|
#######################################
|
|
|
|
Bounce KEYWORD1
|
|
|
|
#######################################
|
|
# Methods and Functions (KEYWORD2)
|
|
#######################################
|
|
|
|
update KEYWORD2
|
|
interval KEYWORD2
|
|
read KEYWORD2
|
|
attach KEYWORD2
|
|
rose KEYWORD2
|
|
fell KEYWORD2
|
|
duration KEYWORD2
|
|
|
|
#######################################
|
|
# Instances (KEYWORD2)
|
|
#######################################
|
|
|
|
#######################################
|
|
# Constants (LITERAL1)
|
|
#######################################
|
|
|