wine/dlls/riched20
Jinoh Kang 8c43577f0f riched20: Obtain the composition start index after deleting selection.
Today, the Rich Edit control handles the WM_IME_STARTCOMPOSITION message
by the computing the composition start position (imeStartIndex) _before_
calling ME_DeleteSelection(), which shifts the character positions after
the range of deletion.  If the selection were not empty, imeStartIndex
immediately becomes stale, since it does not take into account the
number of deleted characters before it.

Fix this by computing imeStartIndex after the ME_DeleteSelection() call.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54318
2023-01-24 18:14:33 +01:00
..
tests riched20: Fix failing test in UTF8 locales. 2022-11-10 22:00:34 +01:00
caret.c
clipboard.c riched20: Call GlobalReAlloc with GMEM_MOVEABLE flag. 2022-11-22 18:27:31 +01:00
context.c
editor.c riched20: Obtain the composition start index after deleting selection. 2023-01-24 18:14:33 +01:00
editor.h
editstr.h
list.c
Makefile.in
ocr_reverse.cur
ocr_reverse.svg
paint.c
para.c
reader.c
res.h
riched20.spec
riched_tom.idl
richole.c
row.c
rtf.h
run.c
string.c
style.c
table.c
txthost.c riched20: Don't emit EN_CHANGE events during window creation. 2022-11-08 21:32:53 +01:00
txtsrv.c
undo.c
version.rc
wrap.c
writer.c