Skip to content

Commit

Permalink
Remove leading space from keywords.txt identifier
Browse files Browse the repository at this point in the history
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
  • Loading branch information
per1234 authored Jul 17, 2018
1 parent ce44820 commit e43efa8
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions keywords.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Skywriter KEYWORD1
begin KEYWORD2
poll KEYWORD2
onGesture KEYWORD2
onTouch KEYWORD2
onAirwheel KEYWORD2
onXYZ KEYWORD2
x KEYWORD3
y KEYWORD3
z KEYWORD3
last_gesture KEYWORD3
last_touch KEYWORD3
Skywriter KEYWORD1
begin KEYWORD2
poll KEYWORD2
onGesture KEYWORD2
onTouch KEYWORD2
onAirwheel KEYWORD2
onXYZ KEYWORD2
x KEYWORD3
y KEYWORD3
z KEYWORD3
last_gesture KEYWORD3
last_touch KEYWORD3

0 comments on commit e43efa8

Please sign in to comment.