diff options
author | Markus Heidelberg <markus.heidelberg@web.de> | 2014-12-29 14:28:14 +1100 |
---|---|---|
committer | Markus Heidelberg <markus.heidelberg@web.de> | 2014-12-29 14:28:14 +1100 |
commit | 1604c5682d2f678405b87f688bc35ca1f129963f (patch) | |
tree | 2f24fde48ec4a56538d925f41d0259a9f0b83ada /include/SciLexer.h | |
parent | 2d7a1e5afcf2d130973be607860b6d679b2d82ed (diff) | |
download | scintilla-mirror-1604c5682d2f678405b87f688bc35ca1f129963f.tar.gz |
S-Record lexer: add future-proof highlighting for unknown record types
An S4 record for example, which is not defined in the S-Record
specification, will now be highlighted until record end (checksum)
instead of aborting after the "byte count" field. The former behaviour
looked a bit half-baked.
Since the size of the address field is unknown, the address and data
fields are highlighted with the same style in the new state
SCE_SREC_DATA_UNKNOWN. Alternating styles (ODD/EVEN) for readability of
the data field of valid record types are not applied.
Diffstat (limited to 'include/SciLexer.h')
0 files changed, 0 insertions, 0 deletions