Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Keep deleting lines when triggering deleteAllLeft on column 1 #28392
referenced this pull request
Jun 9, 2017
@alfonsoperez I really like the idea and the code looks good. The only thing we forget to take into consideration is multi cursor.
Let's say we have below content
Note the cursors are before the last character of each line. Then we press cmd+backspace
Everything looks pretty good. Now we have a problem with what's the expected result of another cmd+backspace. Do you think it should behave the same as a simple backspace
The command is called delete all left. While in this case, the cursor is at the beginning of the line, there is nothing on the left, so I would expect another Delete All Left will just delete the line break before the cursor. While right now, the result is correct but the result selections are not the same as a backspace. What do you think on this?