Hi Graeme,
Thanks for pointing me towards "SlickCMacroBestPractices.pdf". It helped a lot!
I still have a problem though. As an experiment, I edited "util.e" and added a call to say(), dsay() and messageNwait() inside gui_sort(). I then used
"Macro > Load Module... F12" so that "util.e" would be recompiled and added to vslick.sta. I then triggered the function with
"Tools > Sort...", but none of the added functions executed

Even though it is explicitly discouraged, how do I change the behavior of macros in "c:\Program Files\SlickEdit Pro 22.0.0\macros" (with the intent of adding debug statements)?
Thanks in advance,
Pieter