editor: special case \n insertion for change tracking.

Now when you \n at the beginning of the line, we track the insert on the
correct line.