Add a Lua script snippet processing region data from the editor