fix #744, blank line skipping in AutoEdit