Layout update (taken from editor.texy.info)