kate-deft/docs
Levi Neely 5b31bf6e40 Commands: register verbs on the ':' command line (fix name collision)
Root cause: the KTextEditor command registry aborts registering a
Command object entirely if ANY of its names collides with an existing
command. Our list led with 'sort', a Kate built-in, so the collision
silently dropped ALL our verbs from queryCommand/commandList — which is
why ':' never saw them (the palette worked only because it calls runVerb
directly).

Fix: register the sort verb as 'osort'. runVerb/help accept both 'sort'
and 'osort', so the palette is unchanged; the ':' line now resolves every
verb (osort/rsort/case/b64enc/b64dec/rot13/uuid/pipe) to our object.

Add test_ollieregistration asserting all verbs register at the global
editor and guarding against reclaiming 'sort'. Palette verb hints updated
to 'osort'.
2026-10-08 09:42:13 +02:00
..
PLAN.md Commands: register verbs on the ':' command line (fix name collision) 2026-10-08 09:42:13 +02:00
radials.example.json Radial: load user config from XDG, fall back to built-in 2026-10-08 09:35:27 +02:00