genesy / auto-correct

Auto Correct extension for VS Code
16 stars 7 forks source link

Don't trigger autocorrection on backspace. #15

Open matter123 opened 4 years ago

matter123 commented 4 years ago

When auto-correct corrects words when backspacing it becomes impossible to delete the word via the backspace key.

Steps to reproduce:

  1. use the large set
  2. open a new document
  3. type the word there
  4. press backspace in an attempt to remove the last e
  5. Note that ther has ben auto corrected to there, undoing the action of step 4
aleclarson commented 2 years ago

Yeah this one's really annoying. One way to detect the backspace would be to compare previous document length with current.