On 2008-01-08, Felix Schmidt <[EMAIL PROTECTED]> wrote:
> Other hooks work fine with the same code, so i wonder if there is anything
> else i need to do to get notified about property changes.
There shouldn't be. The following example (poorly-formatted copy-paste
from Mod1+F3) works for me.
local tmp=io.open('NCHG', 'w'); function nchg_fn(reg, how) if how=='name'
then tmp:write(string.format('%s\t%s\n', reg:name(), reg.__typename));
tmp:flush(); end; end; ioncore.get_hook("region_notify_hook"):add(nchg_fn)
--
Tuomo