Diffoniq keeps the last 20 versions of your settings. A change you made by
mistake can be taken back, and settings that were lost — a deleted or
emptied diffoniq.ini — can be restored.
When a setting changes — OK in one of the option dialogs, a switch in the View or Options menu, a toolbar button — Diffoniq saves it right away, not only when the window closes. A crash or a switched-off computer no longer costs the settings of the session. Each change that alters a setting also adds a copy to the history, together with what made the change and when.
Not every remembered value is a setting. These are kept, but they make no copy and are never taken back:
Options › Undo Settings Change names the last change and its time, for example Undo Settings Change (Toolbar, 14:32); a change from an earlier day shows its date too. The name is the menu item, toolbar button or dialog that made the change, Changed outside this window for a change made elsewhere (another program, an edit by hand), and Defaults for the settings a start with empty settings began with. Undo takes back exactly the settings that changed in that step and shows the result at once; when a comparison option changed, the open comparison is run again. The item is grey as long as there is nothing to take back.
Rarely a setting changes without being saved at once. The item then reads Undo Settings Change (Unsaved changes) and takes back that change. When the older copy does not hold the settings that differ — a copy written by an older version — the status line says Nothing to undo and nothing changes.
Switches given on the command line are not settings: they apply to that run only, are never saved and are not taken back by Undo.
Undo is a step of its own: choose the item again, and the change you just undid comes back.
Several Diffoniq windows share one history. Undo takes back the latest change, whichever window made it; another open window shows the result after its next start.
If diffoniq.ini is empty or missing when Diffoniq starts, and
the history holds a copy, Diffoniq asks:
Your settings are empty. Restore the settings from 2026-11-07 14:32?
Yes brings the latest copy back. No
starts with the default settings — deliberately emptying the file
still resets everything. The old settings stay in the history, and
Undo Settings Change brings them back later if you change
your mind. The question never offers a copy of the default settings, and
it is not asked when Diffoniq is started only to show its version or help
(--version, --help).
Runs without a window — /report,
/sync, /benchmark and the tools an
AI assistant calls — never ask and never add
copies.
In the folder settings-history beside
diffoniq.ini (see Where settings are
stored): %APPDATA%\Diffoniq\settings-history for the
installed version, the program folder for a portable copy. Each copy is a
plain ini file named after its time in UTC, for example
diffoniq-20261107-133200Z.ini; its first line names what made
the change. You can open a copy in a text editor, or copy it over
diffoniq.ini by hand while Diffoniq is closed. Nothing leaves
your computer.
A portable copy keeps its history only while it stays portable: keep the
file diffoniq.portable beside Diffoniq.exe. A
portable folder made with a hand-created diffoniq.ini and
without that file switches to %APPDATA% when the ini is
deleted, and does not see the history in the program folder.