خرید بک لینک

Hi all,

I'm trying to make an RC file for the nano editor to "syntax" highlight Intel HEX files (the kind a compiler generates for loading into a microcontroller).

What I want is something like this:

:10023000A109B109C1F7ABBFFC0187919691019665

This breaks down into:

: (start marker)
10 (data length)
0230 (address)
00
(record type)
A109B109C1F7ABBFFC01879196910196
(16 bytes actual data)
65 (checksum)

not those exact colors of course, but I want to highlight the data length, address, record type, the data itself and the checksum.

I can't seem to figure out how to skip a part, then highlight a part, then skip the rest... the best I can seem to manage is (using "start=" and "end=") just two different colors.

Any nano and regex guru able to help me? I'd really appreciate it!

برچسب: نویسنده: استخدام کار تاريخ: دوشنبه 13 ارديبهشت 1395 ساعت: 7:07

صفحه بندی