This repository was archived by the owner on Mar 3, 2023. It is now read-only.

Description
Soft wrapping breaks apart completely and creates a big mess if a certain sequence of actions is performed. I'm on OSX 10.8.4 and Atom 17.0.
To reproduce:
- Start Atom, open a blank new file, and turn on soft wrapping
- Enter text until it wraps to the other line:

- Your cursor being at the end of line 1, press ENTER to go to the next line. This correctly creates a newline character and moves the cursor to the beginning of the next line:

- Press BACKSPACE. This deletes the new line that was just created and correctly moves the cursor back to the end of line 1. Screenshot same as in step 2:

- Press ENTER again, as if to repeat step 3. This messes everything up:

So, the first "virtual" line was duplicated. Also, this duplicated first line is now non-selectable and non-editable -- I can't even put my cursor there (it's frozen).
DevTools console doesn't show any errors.