Hi Nicolas, I've made the changes as suggested; we only use the new explicit register syntax, and puts out sensible error messages on stderr.
There was an interesting bug, which I discovered when playing with a Python extension script: we were putting out '\0\n' at the end of notifications, because of writing strlen()+1 bytes. This wouldn't bother a C/C++ client, once it had trimmed the '\n', but Python strings can happily contain '\0' until you pass them to a system routine which complains. The OnBeforeSave() is in, but doesn't work ;) My test Python script was always receiving 'saving:..' after the damn file was actually saved. A similar internal Lua script worked; my guess is that file buffering is messing up our timing. No obvious fix comes to mind; maybe we drop 'saving:...' for now. http://mysite.mweb.co.za/residents/sdonovan/DirectorExtension.zip (this also includes DirectorExtension.* for windows as well, with OnClose() and OnBeforeSave() added) steve d. _______________________________________________ Scite-interest mailing list Scite-interest@lyra.org http://mailman.lyra.org/mailman/listinfo/scite-interest