[functions] objcrepl open to last line