Assume that the user knows when he wants to end the line; don't insert
something he didn't select or complete.
Backport r58306
2 files changed