* ctrl-z (undo) does not work
* selecting (ctrl or mouse) does not work
* tab heading shows different as regular files
Example : I open a regular cpp file --> tab header says : src\MyFile.cpp, but hexeditor just says : Myfile.cpp
* when I have a file open in the internal editor and the hexeditor : changes are not communicated (not while editing, but also not after saving the changes) [change in hexeditor save --> other tab has no clue of change, you first need to remove focus from CB], the other way : change in internal editor, even having CB loose focus will not trigger the hexeditor to reload.
Uploaded version 0.2 :)Not sure if this was intended, but navigating using the cursor keys seems now to be broken to me.
Updated version 0.3: Undo / Redo support, probably fixes issues with keyboard navigation (at least works perfectly on linux ;) ).Nope, not fixed yet. But it's a funny behaviour:
Hi Byo,
I am using your Hex-Editor and it is almost perfect. What and my colleagues are missing is a insert and delete modus in the hex editor. It would be great to have this feature too, but perhaps it is already on your todo list :D
Bye,
Mario
In fact the code is almost ready now*sniff* What about the "wrong highlighting when navigating with cursor keys" bug? :cry:
In fact the code is almost ready now*sniff* What about the "wrong highlighting when navigating with cursor keys" bug? :cry:
m_DrawArea = new wxPanel(this, ID_PANEL1, wxDefaultPosition, wxDefaultSize, wxFULL_REPAINT_ON_RESIZE, _T("ID_PANEL1"));
m_DrawArea = new wxPanel(this, ID_PANEL1, wxDefaultPosition, wxDefaultSize, wxWANTS_CHARS|wxFULL_REPAINT_ON_RESIZE, _T("ID_PANEL1"));
That's also fixed (I hope so), working on Linux and WinXP, currently I'm preparing to add sources to repository and it's not easy task (huh, those autotools...).
That's also fixed (I hope so), working on Linux and WinXP, currently I'm preparing to add sources to repository and it's not easy task (huh, those autotools...).Oh, that's nice and working. Thanks! :-)
BTW: If you want to, please use the project file I have attached for the commit (to contrib plugins). This would ensure a consistent style.
Tell me about it, well if you need help, I know my way around in that swamp ;-)
manifest.xml --> HexEditor
PluginRegistrant<HexEditor> reg( _T("HexEditor") );
BUT :
libhexeditor
hexeditor.zip
The only problem is that if someone has already compiled HexEditor adn did make installyep ;-)
Hi BYO,
Just a small request. Can you provide a prebuilt hex-editor plugin along with the source. i do not have compiler to compile the source.
TIA
Regards
Gururaja
I tried to build precompiled version but I couldn't make it working with 8.02 version (probably different wx version, sdk should be rather compatible), maybe some nightly build will be out soon.normally tomorrow :-)
normally tomorrow :-)OT: Which reminds me: Should we rename this to "weekly" / "monthly" builds? I'd prefer the first... What's the current idea/state of nightlies anyways?!
HexEdit:
* Made the "Value Preview" option enabled by default
* Some small project adjustments
* Removed some warnings
The value preview checked by default doesn't seem to work for me.
confirmed :-)The value preview checked by default doesn't seem to work for me.
Auch, I was working on my local project (not the one added into repository), just give me few minutes :)
BYO
Hexedit causes a crash in svn 5144 when using the cursor keys (left, down, right, up). Using the mouse to place the cursor works fine.
I'm running XP Pro and I've compiled C::B using MinGW.
Hexedit causes a crash in svn 5144 when using the cursor keys (left, down, right, up). Using the mouse to place the cursor works fine.
I'm running XP Pro and I've compiled C::B using MinGW.
Thanks for reporting, I'm investigating it right now :)
nice work, byo!
mario wanted to be able to open files in the hex editor from the file browser window in my ShellExtensions plugin, so I provide this small patch. Unfortunately, I have to clutter your plugin class with some methods and a wxString member to hold the name of the file that the user has clicked in the browser.
- Optional: There could be a file mask for HexFiles which the user selects
- Since CB then would pop-up (What to do dialogue) the user should be able to select:
...
Open with CB editor
Open with HexEditor (new entry)
optional: If possible then the file extension handler would register the extension with the HexEditor and opening these files will result in a Hex-view.
I personally would prefer to have a context menu like Swap HexEditor/Editor to access the HexEditor.
This could be done, but I wanted HexEditor to open all types of files (including those that are opened in standard editor like .cpp or anything else).
Anyway, which extensions did you want to be opened by hexeditor by default ?
Do you mean like switching between header and source file ?
<?xml version="1.0"?>
<!DOCTYPE CodeBlocks_lexer_properties>
<CodeBlocks_lexer_properties>
<Lexer name="HexEditor binary"
index="20"
filemasks="*.bin,*.elf,*.exe">
</Lexer>
</CodeBlocks_lexer_properties>
I really like the Hexeditor. Nice work.
However as Mario already suggested it would be great to be able to specify how many bits/bytes to show in a row.
Isn't it is possible to extend CB that it opens *.bin, *.elf ... within the hex editor if the hex
editor implements the mime plugin interface (deriving from cbMimePlugin) and say it can open .bin .elf..
The problem is that even if you register mime plugin, registered extensions won't show up in the file open dialog - you'll have to select "Show all file types" or something like this.Nice catch! So we should change the core to do so. Anyways - the file extension handling is ugly in general and could need some overhaul / refactoring.
if it is OK for you, I would like to start the documentation of the HexEditor plugin to complete the existing documentation for Code::Blocks plugins. Perhaps there are some "hidden" features of your plugin that should be mentioned in the documentation: So please give me some hints for that kind of features.
Hi,
I am new here. Where can I download this plugin?