From c4c58f4830cde4b8d609f12a061224a863212d96 Mon Sep 17 00:00:00 2001 From: per1234 Date: Mon, 27 Aug 2018 06:08:41 -0700 Subject: [PATCH] Use a single tab field separator in keywords.txt Each field of keywords.txt is separated by a single true tab. When you use multiple tabs it causes the field to be interpreted as empty. On Arduino IDE 1.6.5 and newer an empty KEYWORD_TOKENTYPE causes the default editor.function.style highlighting to be used (as with KEYWORD2, KEYWORD3). On Arduino IDE 1.6.4 and older it causes the keyword to not be recognized for any special highlighting. Reference: https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#keywords --- keywords.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/keywords.txt b/keywords.txt index c3c1405..df83920 100644 --- a/keywords.txt +++ b/keywords.txt @@ -14,8 +14,8 @@ PICC_Command KEYWORD1 MIFARE_Misc KEYWORD1 PICC_Type KEYWORD1 StatusCode KEYWORD1 -TagBitRates KEYWORD1 -Uid KEYWORD1 +TagBitRates KEYWORD1 +Uid KEYWORD1 CardInfo KEYWORD1 MIFARE_Key KEYWORD1 PcbBlock KEYWORD1 @@ -104,7 +104,7 @@ PICC_ReadCardSerial KEYWORD2 ####################################### ####################################### -LITERAL1 Constants +# LITERAL1 Constants ####################################### CommandReg LITERAL1 ComIEnReg LITERAL1 @@ -163,8 +163,8 @@ PCD_CalcCRC LITERAL1 PCD_Transmit LITERAL1 PCD_NoCmdChange LITERAL1 PCD_Receive LITERAL1 -PCD_Transceive LITERAL1 -PCD_MFAuthent LITERAL1 +PCD_Transceive LITERAL1 +PCD_MFAuthent LITERAL1 PCD_SoftReset LITERAL1 RxGain_18dB LITERAL1 RxGain_23dB LITERAL1