https://bugs.winehq.org/show_bug.cgi?id=54318
Jinoh Kang jinoh.kang.kr@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |aric@codeweavers.com
--- Comment #2 from Jinoh Kang jinoh.kang.kr@gmail.com --- Diagnosis:
In RichEdit WM_IME_STARTCOMPOSITION handler, the composition start position (imeStartIndex) is computed _before_ ME_DeleteSelection() is called. ME_DeleteSelection() shifts the character positions after the range of deletion. This makes imeStartIndex stale, since it does not take into account the number of deleted characters before it.