Skip to content

Commit d58235e

Browse files
authored
Merge c9db02f into 726f762
2 parents 726f762 + c9db02f commit d58235e

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎CefSharp.Wpf/Experimental/WpfIMEKeyboardHandler.cs‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,11 @@ private void OnImeComposition(IntPtr hwnd, int lParam)
245245
if (ImeHandler.GetResult(hwnd, (uint)lParam, out text))
246246
{
247247
owner.GetBrowserHost().ImeCommitText(text, new Range(int.MaxValue, int.MaxValue), 0);
248+
if (languageCodeId == ImeNative.LANG_KOREAN)
249+
{
250+
owner.GetBrowserHost().ImeSetComposition(text, new CompositionUnderline[0], new Range(int.MaxValue, int.MaxValue), new Range(0, 0));
251+
owner.GetBrowserHost().ImeFinishComposingText(false);
252+
}
248253
}
249254
else
250255
{

0 commit comments

Comments
 (0)