Linux port of the Nextpad++ HexEditor plugin (macOS port of the classic Notepad++ HEX-Editor by Jens Lorenz). Toggles the active editor tab between the text view and an inline hex table with offset, byte, and ASCII columns.
Features (macOS-parity):
- In-place hex view over the live Scintilla buffer (page-cached lazy reader — bounded RAM regardless of file size), byte/ASCII editing, full undo integration
- Linear + rectangular (Alt-drag) selections; cut/copy/paste including a structured rect clipboard format and binary clipboard variants
- Find / Replace (ASCII or hex patterns), Go to Offset, Compare HEX with diff highlighting, Insert Columns, Pattern Replace
- 8/16/32/64-bit cells, hex/binary notation, endianness, bookmarks, configurable colors/fonts, per-buffer view persistence, auto-engage rules (extension list / control-char density)
- Localized via the shared
Localizable.<lang>.stringscatalogs (15 languages, byte-identical with the macOS port)
The platform-neutral engine (src/core/HexCore.{h,cpp}) and its
9213-assertion test suite are shared byte-identical with the macOS port.
cmake -B build -S .
cmake --build build -j"$(nproc)"
ctest --test-dir build # HexCoreTests
cmake --install build # → ~/.local/share/nextpad++/plugins/HexEditorRequires the nextpad-plus-plus-gtk4 host checkout as a sibling
directory (headers only; scintilla_view_send_message resolves at
dlopen against the host).
HEX_EDITOR_LANG_OVERRIDE— pipe-separated BCP 47 tags (locale chain)HEX_EDITOR_TEST_COMPARE_WITH— path; Compare HEX skips the file pickerHEX_EDITOR_RESET_PREFS— wipe the plugin ini at load
GPL-2.0 — see License.txt (upstream HEX-Editor license).