more workarounds for Korean

not just space might delete text, but also other separators
now this problem is avoided in a more generic way
fixes GH-1447
This commit is contained in:
Helium314 2025-04-27 18:59:29 +02:00
parent 9c727f342d
commit 1d441a8ca6
3 changed files with 35 additions and 13 deletions

View file

@ -152,6 +152,14 @@ class InputLogicTest {
assertEquals(4, cursor)
}
// see issue 1447
@Test fun separatorAfterHangul() {
reset()
currentScript = ScriptUtils.SCRIPT_HANGUL
chainInput("ㅛ.")
assertEquals("ㅛ.", text)
}
@Test fun separatorUnselectsWord() {
reset()
setText("hello")