diff options
author | Cho <cho@lindenlab.com> | 2013-01-23 20:22:28 +0000 |
---|---|---|
committer | Cho <cho@lindenlab.com> | 2013-01-23 20:22:28 +0000 |
commit | 977d318ac8ccb756bb90a8572f01bc6825b5d0a3 (patch) | |
tree | 1002b1b87373951d40d6ec276ce26015f8b2bbd8 /indra/llui/lltexteditor.h | |
parent | 9e6677ffc29b779f7b47228cf96c5bcdc867669c (diff) |
CHUI-291 FIX New auto-replace feature does not work with chui text input boxes in conversation floater
Moved autoreplace hooks from LLLineEditor to LLTextEditor, and modified LLAutoReplace accordingly
Diffstat (limited to 'indra/llui/lltexteditor.h')
-rw-r--r-- | indra/llui/lltexteditor.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/lltexteditor.h b/indra/llui/lltexteditor.h index f8f636b876..ae5a983b60 100644 --- a/indra/llui/lltexteditor.h +++ b/indra/llui/lltexteditor.h @@ -157,6 +157,11 @@ public: BOOL isPristine() const; BOOL allowsEmbeddedItems() const { return mAllowEmbeddedItems; } + // Autoreplace (formerly part of LLLineEditor) + typedef boost::function<void(LLWString&, S32&)> autoreplace_callback_t; + autoreplace_callback_t mAutoreplaceCallback; + void setAutoreplaceCallback(autoreplace_callback_t cb) { mAutoreplaceCallback = cb; } + // // Text manipulation // |