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/lltexteditor.h | |
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/lltexteditor.h')
-rw-r--r-- | indra/llui/lltexteditor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llui/lltexteditor.h b/indra/llui/lltexteditor.h index 513781e365..0697a2149d 100644 --- a/indra/llui/lltexteditor.h +++ b/indra/llui/lltexteditor.h @@ -101,7 +101,7 @@ public: virtual BOOL handleKeyHere(KEY key, MASK mask ); virtual BOOL handleUnicodeCharHere(llwchar uni_char); - virtual BOOL handleUnicodeStringHere(char *uni_str); + virtual BOOL handleUnicodeStringHere(char *uni_str, bool editing); virtual void onMouseCaptureLost(); @@ -242,7 +242,7 @@ protected: // Undoable operations void addChar(llwchar c); // at mCursorPos S32 addChar(S32 pos, llwchar wc); - void addString(char *s); + void addString(char *s, bool editing); S32 addString(S32 pos, char *str); void addLineBreakChar(BOOL group_together = FALSE); S32 overwriteChar(S32 pos, llwchar wc); |