Binary colorization
Submitted by Wednesday, 18 December, 2019 - 20:54
on
I use jEdit to develop for the Atari 2600. I've created a mode file for it, and one of the things I came up with was a colorization rule for binary values. What this does is allow you to easily see graphic data that's stored as binary numbers.
You can see how that looks in the second screenshot from this blog post:
https://atariage.com/forums/blogs/entry/16412-jedit-index/
The mode files are available from here:
https://atariage.com/forums/blogs/entry/16411-minor-revision-to-jedit-mode-files/
If you'd like to implement in your own mode files just copy the SPAN_REGEXP rule that uses DELEGATE="COLORIZE_BINARY" towards the top of the mode file, as well as the RULES SET="COLORIZE_BINARY" at the end.
You can see how that looks in the second screenshot from this blog post:
https://atariage.com/forums/blogs/entry/16412-jedit-index/
The mode files are available from here:
https://atariage.com/forums/blogs/entry/16411-minor-revision-to-jedit-mode-files/
If you'd like to implement in your own mode files just copy the SPAN_REGEXP rule that uses DELEGATE="COLORIZE_BINARY" towards the top of the mode file, as well as the RULES SET="COLORIZE_BINARY" at the end.