From 6b703450e0115cf796c393103d427ad846549826 Mon Sep 17 00:00:00 2001 From: Markus Heidelberg Date: Sun, 11 Jan 2015 09:04:00 +1100 Subject: LexHex: add a new state for garbage data after the record IHex and Srec just set to the DEFAULT state before, TEHex used the SCE_HEX_DATA_UNKNOWN state for garbage data, which is not the actual intention for this state. --- include/SciLexer.h | 1 + include/Scintilla.iface | 1 + 2 files changed, 2 insertions(+) (limited to 'include') diff --git a/include/SciLexer.h b/include/SciLexer.h index 7c63a9de2..9dd1f240f 100644 --- a/include/SciLexer.h +++ b/include/SciLexer.h @@ -1767,6 +1767,7 @@ #define SCE_HEX_CHECKSUM 15 #define SCE_HEX_CHECKSUM_WRONG 16 #define SCE_HEX_RECTYPE_UNKNOWN 17 +#define SCE_HEX_GARBAGE 18 /* --Autogenerated -- end of section automatically generated from Scintilla.iface */ #endif diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 9c802cd3d..df70dfeea 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -4570,6 +4570,7 @@ val SCE_HEX_DATA_EMPTY=14 val SCE_HEX_CHECKSUM=15 val SCE_HEX_CHECKSUM_WRONG=16 val SCE_HEX_RECTYPE_UNKNOWN=17 +val SCE_HEX_GARBAGE=18 # Lexical state for SCLEX_IHEX (shared with Srec) lex IHex=SCLEX_IHEX SCE_HEX_ # Lexical state for SCLEX_TEHEX (shared with Srec) -- cgit v1.2.3