Hi,

Hi, I use the lua code above in SciTE all of the time. Now since upgrading to 1.74, the code doesn't work. What do I need to change in order for this to work in Version 1.74 (with lua5.1?)

I suspect it has to do with OnClear. It now is called *before* the Lua global namespace is reinitialized, giving scripts a chance to "clean up after themselves" as in the documentation. The way it behaved originally was to be called *after* the global namespace was reinitialized. Therefore a more accurate name would be OnReload or something, not OnClear.

Anyway, just calling udl_Initialize at the end of the script should work, provided the script is in or called by the extension script. There is absolutely no need for OnClear as far as I can tell.

Take care,
-Mitchell;


See: http://article.gmane.org/gmane.editors.scite.general/6837/match=april+white+tools+menu


_______________________________________________
Scite-interest mailing list
[email protected]
http://mailman.lyra.org/mailman/listinfo/scite-interest

Reply via email to