jEdit Community - Resources for users of the jEdit Text Editor
Hex mode
Submitted by Anonymous on Tuesday, 21 September, 2004 - 17:44
I know that there's a hex plugin. But it just doesn't cut it. All it seems to do is allow you to load a file so that its contents are displayed in hex.

You shouldn't have to load a file, as the plugin makes you do - you should be able to toggle the display of any buffer back and forth from normal mode to hex mode, with just a simple built-in menu option and/or hotkey.

You should be able to edit the file; the plugin doesn't seem to allow you to. You should be able to edit the file both via the left-side hex display and via the right-side ASCII display.
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
yes,that is what I need.Jedit
by Reeves1016 on Thu, 20/09/2007 - 13:53
yes,that is what I need.Jedit needs a built-in hex function.
Could not agree more
by Anonymous on Tue, 19/04/2005 - 17:05
This is the one feature that I from the top of my head can think of that JEdit really lacks. This is a great feature, especially as good hex editors are sparse.
Here's a macro to address you
by Anonymous on Tue, 21/09/2004 - 22:38
Here's a macro to address your first complaint:
void hexDump(View view)
{
    vfs = VFSManager.getVFSByName("hex");
    if(vfs == null)
    {
        Macros.error(view, "Hex plugin must be installed.");
        return;
    }
    else if(vfs.getName().equals("hex"))
    {
        Macros.error(view, "You're already looking at the hex.");
    }
    else
    {
        jEdit.openFile(view, "hex:" + view.getBuffer().getPath());
    }
}

hexDump(view);
You can always modify it to toggle back and forth if that's your desired behavior. For editing, try the HexEdit plugin. As for the current situation "doesn't cut it", the code for both the hex plugins are in jEdit's CVS repository. I'm sure others would appreciate it if you added the features you proposed -- you're not the first to request them.
User login
Browse archives
« April 2024  
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   82348
Context Free Art (*.cfdg)   0.31   46055
JBuilder scheme   .001   18495
BBEdit scheme   1.0   18116
ColdFusion scheme   1.0   18024
R Edit Mode - extensive version   0.1   17473
Advanced HTML edit mode   1.0   16206
Matlab Edit Mode   1.0   16068
jEdit XP icons   1.0   15229
XP icons for jEdit   1.1   14293