Microsoft/vscode

Undo stacks are not granular enough for Korean

Open

#229,647 opened on Sep 25, 2024

View on GitHub
 (3 comments) (2 reactions) (2 assignees)TypeScript (10,221 forks)batch import
editor-input-IMEfeature-requesthelp wantedundo-redo

Repository metrics

Stars
 (74,848 stars)
PR merge metrics
 (Avg merge 11h 43m) (1,000 merged PRs in 30d)

Description

Testing #229383

Right now, typing a sentence in Korean and pressing undo will remove the entire line. I confirmed with a native Korean speaker that the ideal behavior for undo is to remove the last consonant/vowel (each character is made up of 2-4 consonants/vowels). This might be difficult to do depending on how EditContext words, but a little less better but much better than deleting the whole line is to delete the last fully formed character.

Image

Note that this is not a regression, but it's a pretty bad existing great experience.

Contributor guide