jEdit Community - Resources for users of the jEdit Text Editor
Binary colorization
Submitted by SpiceWare on Wednesday, 18 December, 2019 - 20:54
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.
User login
Browse archives
« April 2025  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   107462
Context Free Art (*.cfdg)   0.31   46065
BBEdit scheme   1.0   18604
JBuilder scheme   .001   18505
ColdFusion scheme   1.0   18035
R Edit Mode - extensive version   0.1   17485
Advanced HTML edit mode   1.0   16216
Matlab Edit Mode   1.0   16080
jEdit XP icons   1.0   15239
XP icons for jEdit   1.1   14303