Add composition event on macOS (#1979)
* Enable to show text when IME is active * Remove unnecessary variable * Enable to use IME * fmt * Remove println! for debug * Fix handling of utf-8 string * clear_marked_text should be rust function, not member function * Store state information in ViewState * Remove unnecessary function * format * Remove mut * format * Remove duplicate marked text * Remove unused `is_preediting` field Co-authored-by: Artúr Kovács <kovacs.artur.barnabas@gmail.com>
This commit is contained in:
parent
f16ed98af4
commit
8afeb910bd
4 changed files with 121 additions and 30 deletions
|
|
@ -47,6 +47,7 @@ cocoa = "0.24"
|
|||
core-foundation = "0.9"
|
||||
core-graphics = "0.22"
|
||||
dispatch = "0.2.0"
|
||||
block = "0.1"
|
||||
|
||||
[target.'cfg(target_os = "macos")'.dependencies.core-video-sys]
|
||||
version = "0.1.4"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue