intimated that when a stipulation is offered, before notice of motion, then costs will be allowed up to the time of offer. When after notice, and before actual application, up to that time. But when not till the court is applied to, then all costs must be paid.