Commit Graph

12 Commits

Author SHA1 Message Date
EmilyPaek 6f73ea1bba WPF - Korean IME fix cursor displayed at the left side of current character (#3912)
Co-authored-by: agrina1008 <noely1008@naver.com>
2021-11-30 13:47:16 +10:00
Alex Maitland 66cd9ef4b8 WPF - Improve WpfIMEKeyboardHandler browserHost null checks
CancelComposition is now private as it's not used outside the scope of the class. Technically this is a breaking change
though it's incredibly unlikely this method was used outside the scope of WpfImeKeyboardHandler as it requires
the Hwnd which is obtained from the SourceHook which is private.

We can and probably should make most of the private methods protected virtual to allow for overriding of just a small
portion of the class, you currently can copy and paste the whole class into your own code base if small changes are required.

#3690
2021-07-22 10:33:32 +10:00
Shaojun Li d9a7a398cb WPF - Fix WpfIMEKeyboardHandler crash when browser is not initalized. (#3690)
GetBrowserHost will throw exception when browser is not initalized.
2021-07-22 10:17:21 +10:00
billshinji 516de14af6 WPF - Japanese IME unable to enter space (#3455)
This is a fix in response to the issue of not emitting spaces in Japanese IME (from @karthikeyancdm).
After all, it turns out that ImeSetComposition() and ImeFinishComposingText() should be invoked regardless of the current language.
2021-03-22 14:07:54 +10:00
TMOONLIGHT bf8893a58f Update WpfIMEKeyboardHandler.cs (#3346)
fix chinese IMEs ( such as "sogou pinyin", "qq pinyin" etc. ) input window position.
2021-01-11 20:30:38 +10:00
Konstantin Preißer 5e89f71a44 Add new projects targeting .NET Core 3.1 (#3181)
* Add .NET Core 3.1 projects for CefSharp, CefSharp.Core, CefSharp.BrowserSubprocess.Core, CefSharp.WinForms, CefSharp.Wpf, CefSharp.OffScreen.

Contributes to CefSharp#2796

* - Remove dependencies to "opengl32.lib" and "glu32.lib" which aren't available for ARM64 and don't seem to be needed.
- Clean up project files.

* Switch project CefSharp.netcore.csproj to AnyCPU as it doesn't require different builds for each platform.

* Remove WindowsTargetPlatformVersion property as that is declared in CefSharp.props.

* Use "bin.netcore" and "obj.netcore" as [intermediate] output path for the .NET Core projects, to allow side-by-side builds with the .NET Framework projects.

* Output documentation files.

* Add CefSharp.Example.netcore and CefSharp.WinForms.Example.netcore.

* Follow-up: Remove properties from the example projects that are also not used in the corresponding .NET Framework projects.
2020-07-23 15:21:14 +10:00
yeyezizhi ccd4af84b0 Fix Chinese IME character Composition issue (#3163) 2020-07-02 09:34:21 +10:00
billshinji 6fea930e3a WPF - IME Fix Korean character emitting issue (#3054)
*WPF IME  Fix Korean character emitting issue

Fixes a Korean IME related problem. A user cannot make a word or a sentence by progressing (producing) a single Korean character. Current experimental handler fails to 'emit' a composed Korean character.
2020-02-12 12:25:13 +10:00
amaitland 79c99878c5 Xml Doc improvements 2020-01-29 05:37:45 +10:00
Roh yeon jin b804367cb5 WPF IME - Fixed last hangul letter being duplicated (#2973)
WPF IME - Fixed the problem that the last hangul letter is duplicated.
2019-11-25 11:35:51 +10:00
Michael Olsen ae94efa7df WPF Experimental - Fixed IME window not showing or showing at the wrong location (#2782)
* Fixed IME window not showing at all or sometimes showing at the wrong location.

* Added braces for code consistency.

* Added a few more braces for code consistency.

* Removed unnecessary local variable.

* Removed some implementation specific wording in a comment.
2019-05-31 07:22:31 +10:00
Alex Maitland 002edfb058 WPF - Add IME Support (#2757)
* WPF - Add initial IME implementation

* WPF - WpfImeKeyboardHandler handler code cleanup

- Restructure ImeHandler to be a static class as it really didn't maintain any state, now hwnd is passed in as param
- Renamed many of the methods to Ime for consistency (IME in all caps doesn't patch the naming convention used)
- The WpfIMEKeyboardHandler implementation is pretty much self contained now, only a single reference in ChromiumWebBrowser
also moved into Experimental folder/namespace
2019-05-04 12:32:38 +10:00