pjs/lib/layout/layedit.c