Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HexEditor — Nextpad++ (GTK4 Linux) plugin

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>.strings catalogs (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.

Build

cmake -B build -S .
cmake --build build -j"$(nproc)"
ctest --test-dir build        # HexCoreTests
cmake --install build         # → ~/.local/share/nextpad++/plugins/HexEditor

Requires the nextpad-plus-plus-gtk4 host checkout as a sibling directory (headers only; scintilla_view_send_message resolves at dlopen against the host).

Test hooks

  • HEX_EDITOR_LANG_OVERRIDE — pipe-separated BCP 47 tags (locale chain)
  • HEX_EDITOR_TEST_COMPARE_WITH — path; Compare HEX skips the file picker
  • HEX_EDITOR_RESET_PREFS — wipe the plugin ini at load

License

GPL-2.0 — see License.txt (upstream HEX-Editor license).

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages