ediHex 0.1
First stable release after 0.1b. This update focuses on creating new documents, fixing file save after edits, and hardening the test suite.
What's new
New File (⌘N)
- File → New menu command with ⌘N shortcut
- New File… button on the empty workspace screen (alongside Open)
- Prompts for a save location, creates a 1-byte file (
0x00), and opens it in the editor
Bug fixes
Save after insert, append, or delete
Fixed a bug in ByteArrayWriter when saving files that had in-memory edits (byte insertions, appends, or deletions). Chained internal write operations could read from the wrong source offset, producing corrupted output on disk. Saving now copies the full modified slice into a buffer first and writes each target range from the correct offset.
Other changes
- Expanded test coverage:
- Byte-array I/O edge cases (empty files, read-only protection, out-of-bounds reads)
- Save-after-modify scenarios (insert, append, delete)
- Terminal command parser, tokenizer, and offset parser
- Document pane terminal integration (
DocumentPaneViewModel)
Requirements
- macOS 15.6 or later