diff options
| author | Erik Kundiman <erik@megapahit.org> | 2024-02-22 08:38:12 +0800 |
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2024-02-22 08:38:12 +0800 |
| commit | 60592ae0d7a98e071e516fcac70c5bf1427f20be (patch) | |
| tree | 270a0d44f14634f7519ba222bee6203d7ed4c6e8 /indra/llui/llview.cpp | |
| parent | 15e0231006838044b0315c19ed6a1b67a1da8e75 (diff) | |
IME composition is now replaced by the result
instead of being printed alongside.
For now, it always gets reset from the start after pressing Return,
which is to be fixed next.
Diffstat (limited to 'indra/llui/llview.cpp')
| -rw-r--r-- | indra/llui/llview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/llui/llview.cpp b/indra/llui/llview.cpp index 6547a99a32..1f39e495a5 100644 --- a/indra/llui/llview.cpp +++ b/indra/llui/llview.cpp @@ -1043,18 +1043,18 @@ BOOL LLView::handleUnicodeChar(llwchar uni_char, BOOL called_from_parent) return handled; } -BOOL LLView::handleUnicodeString(char *uni_str, BOOL called_from_parent) +BOOL LLView::handleUnicodeString(char *uni_str, bool editing, BOOL called_from_parent) { auto handled = FALSE; if (getVisible() && getEnabled() && !handled) { - handled = handleUnicodeStringHere(uni_str); + handled = handleUnicodeStringHere(uni_str, editing); if (handled && LLView::sDebugKeys) LL_INFOS() << "Unicode key handled by " << getName() << LL_ENDL; } if (!handled && !called_from_parent && mParentView) - handled = mParentView->handleUnicodeString(uni_str, FALSE); + handled = mParentView->handleUnicodeString(uni_str, editing, FALSE); return handled; } @@ -1064,7 +1064,7 @@ BOOL LLView::handleUnicodeCharHere(llwchar uni_char ) return FALSE; } -BOOL LLView::handleUnicodeStringHere(char *uni_str) +BOOL LLView::handleUnicodeStringHere(char *uni_str, bool editing) { return FALSE; } |
