iterate over lines in process editing for multi-line initialization