editor.lua from Better editor 1.4

http://forum.stabyourself.net/viewtopic.php?f=13&t=1954