Get version 0.1.12 from the download page. Both platforms are 64-bit.
Download editbench-0.1.12-windows-x64-setup.exe and run it. It asks who EditBench is for:
%LOCALAPPDATA%\Programs\EditBench with no administrator rights needed.C:\Program Files\EditBench. Windows asks for administrator rights.Either way EditBench is added to the Start menu, and to the Open with list: right-click a file, choose Open with, then EditBench. This is offered for every file type and does not change what a double-click opens; to make EditBench the usual program for a type, choose Open with → Choose another app and tick Always. From version 0.1.6 the right-click menu of every file also has Edit with EditBench; on Windows 11 it is under Show more options. The portable ZIP adds neither. Remove it from Settings → Apps or with the Uninstall shortcut; your settings are kept.
For a portable copy, extract editbench-0.1.12-windows-x64.zip anywhere and run EditBench\editbench.exe.
%APPDATA%\editbench.cmd.exe and needs Windows 10 version 1809 or later.git and aspell must be on the PATH.<note>The Windows version is new. It runs on a Windows computer with the terminal panel working; most other features have been tried under Wine only, and printing has not been run. Tell us if something does not work.</note>
Download editbench_0.1.12_amd64.deb, open a terminal in that folder and run:
sudo apt install ./editbench_0.1.12_amd64.deb
It needs Ubuntu 22.04, Debian 12 or newer. Remove it with sudo apt remove editbench.
tar -xzf editbench-0.1.12-linux-x86_64.tar.gz cd editbench-0.1.12-linux-x86_64 ./install.sh
This installs for your user only, under ~/.local, with no root needed. ./install.sh –uninstall removes it. It needs glibc 2.35 or later and the PCRE2 library (libpcre2-8).
From version 0.1.2, EditBench checks once a day whether a new version is out and shows a window when there is one. Help → Check for Updates checks straight away. Versions 0.1.0 and 0.1.1 have no update check: install 0.1.6 from the download page.
.deb asks for your password; on Windows the new installer runs and EditBench closes while it installs. Save your work first: on Windows EditBench will not start the update while documents have unsaved changes.curl.<note>Checking and downloading have been tested. Installing an update from inside EditBench has not been run yet; if Update Now fails, download the new version from the page.</note>
Download SHA256SUMS into the same folder and run sha256sum -c –ignore-missing SHA256SUMS.
Choose EditBench in the application menu, or type editbench in a terminal.
| Command | What it does |
|---|---|
editbench FILE | Opens the file. FILE:12:5 goes to line 12, column 5. |
editbench -r FILE | Opens it read-only. |
editbench -p FILE | Prints it to the default printer and exits. |
editbench -s SCRIPT.js | Runs a JavaScript file. |
editbench –new-instance | Starts a second copy instead of using the one already open. |
On Linux, settings are kept in ~/.config/editbench. Your settings stay when you remove the program.
Some commands use other programs when they are installed. Without one, that command says so and changes nothing.
| Program | Used for |
|---|---|
aspell | Spell check |
git | The Git toolbar and console |
ctags | Build Tag Index and Find Symbol |
tidy, xmllint | HTML Tidy and XML checks |
secret-tool (libsecret-tools) | Keeping server passwords |
lp (CUPS) | Printing |
curl, pkexec | Checking for and installing updates |
rustfmt, black, prettier and others | The source code formatter |
use-directx-renderer in %APPDATA%\editbench.editbench in a terminal and read the message. It needs working OpenGL or Vulkan graphics.Questions and bug reports: slaterm@theiguru.au.