Fix blank lines in function editor