Implement remove-line in editor