Hi,
maybe somebody has an idea to have a new feature in pspad.
Intel hex files are something like:
:03004B000224DBB1
:100080008E4B8F4C90E600E054187012E54C240122
:10009000FFE4354BC313F54BEF13F54C801590E699
and so on
In this kind of file, syntax coloring is hard to implement but not impossible
(gvim do syntax color for hex).
Do you think that pspad can implement syntax color for such a language (position
based and not keywords based).
Best regards
pierre
_Here are the rules:_
cite:
--------------------------------------------------------------------------------
An Intel HEX file is composed of any number of HEX records. Each record is made
up of five fields that are arranged in the following format:
:llaaaatt[dd...]cc
Each group of letters corresponds to a different field, and each letter
represents a single hexadecimal digit. Each field is composed of at least two
hexadecimal digits-which make up a byte-as described below:
* : is the colon that starts every Intel HEX record.
* ll is the record-length field that represents the number of data bytes
(dd) in the record.
* aaaa is the address field that represents the starting address for
subsequent data in the record.
* tt is the field that represents the HEX record type, which may be one of
the following:
00 - data record
01 - end-of-file record
02 - extended segment address record
04 - extended linear address record
* dd is a data field that represents one byte of data. A record may have
multiple data bytes. The number of data bytes in the record must match the
number specified by the ll field.
* cc is the checksum field that represents the checksum of the record. The
checksum is calculated by summing the values of all hexadecimal digit pairs in
the record modulo 256 and taking the two's complement.
--------------------------------------------------------------------------------
--
<http://forum.pspad.com/read.php?2,41070,41070>
PSPad freeware editor http://www.pspad.com