Hi Farshmak,
Yes, sorry for the inconvenience, since the last update the Edit.color property has been renamed to Edit.fgcolor.
I forgot to update this example.
To do this, simply replace edit.color with edit.fgcolor in the script
Thanks for the report, it will be corrected in next LuaRT update.