sublimehq / sublime_text

Issue tracker for Sublime Text
https://www.sublimetext.com
807 stars 39 forks source link

[ST4] Wrong cursor position with Korean IME text after backspace on Windows #4050

Closed moritori closed 1 year ago

moritori commented 3 years ago

Description

The cursor position is not always correctly reset when hitting backspace as we can observe in the following images.

The first image shows the situation before starting to remove the last syllable.

image

The second image shows the wrongly positioned cursor after the removal.

image

It seems like that there is problem with recognizing that the last remaining element of a Korean syllable is about to be removed. This issue seems to be related to #4051.

Steps to reproduce

Expected behavior

I would expect the cursor to go back to the beginning of the line as in the case of non Korean input.

Actual behavior

The cursor stays at the position before hitting backspace for the third time.

Environment

moritori commented 3 years ago

Windows IME support in ST has been a challenging topic for a long time. Please don't hesitate to ask, if there is anything that I can contribute to get these issues ironed out for good.

hkjin81 commented 2 years ago

It doesn't need three key types. Only one key stroke is enough to reproduce this problem. And it doesn't matter what key is also.

BenjaminSchaaf commented 1 year ago

Should be fixed in build 4153.