mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Improve IME messaging to embedder with insertion point index and multiline flag.
This commit is contained in:
parent
0539043e35
commit
b8a74e89cf
8 changed files with 57 additions and 15 deletions
|
@ -66,7 +66,7 @@ void on_panic(const char *cbacktrace) {
|
|||
throw hresult_error(E_FAIL, backtrace);
|
||||
}
|
||||
|
||||
void on_ime_show(const char *text, int32_t x, int32_t y, int32_t width,
|
||||
void on_ime_show(const char *text, int32_t text_index, bool multiline, int32_t x, int32_t y, int32_t width,
|
||||
int32_t height) {
|
||||
hstring htext = L"";
|
||||
if (text != nullptr) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue