Ensure backspace, delete and enter on multiple empty lines does not break structure.