Skip to content

Deleting a word backward from the end of trailing whitespace no longer deletes the entire line - #12

Merged
trueadm merged 2 commits into
meta:mainfrom
steveluscher:fix-backward-word-delete-adjacent-to-whitespace
Jan 20, 2021
Merged

trueadm merged 2 commits into
meta:mainfrom
steveluscher:fix-backward-word-delete-adjacent-to-whitespace

Conversation

@steveluscher

Copy link
Copy Markdown
Contributor

Fixes #10.

Before:

Screen.Recording.2021-01-19.at.6.02.53.PM.mov

After:

Screen.Recording.2021-01-19.at.5.59.47.PM.mov

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 20, 2021
@feedthejim

Copy link
Copy Markdown
Screen.Recording.2021-01-20.at.09.48.11.mov

we should note that the bug still happens when coming from the extremity of a different block

@trueadm trueadm left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's get this is for now, but as per Jimmy's comment, there are still cases we need to handle.

@trueadm
trueadm merged commit a26b138 into meta:main Jan 20, 2021
@trueadm
trueadm deleted the fix-backward-word-delete-adjacent-to-whitespace branch January 20, 2021 09:58
@steveluscher

Copy link
Copy Markdown
Contributor Author

we should note that the bug still happens when coming from the extremity of a different block

Oh for sure! I'm just getting started :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Delete word backward deletes entire line

4 participants