summaryrefslogtreecommitdiff
path: root/indra/llui/lltexteditor.h
diff options
context:
space:
mode:
authorCho <cho@lindenlab.com>2013-01-23 20:23:35 +0000
committerCho <cho@lindenlab.com>2013-01-23 20:23:35 +0000
commit9312cd8709132835878bdbe17f81d1b3e9fa7f45 (patch)
tree3805fbb319ed2db13c032accbdfd3e9a13e87fd1 /indra/llui/lltexteditor.h
parente6000d5930dd646bb15951336670bab4950515d8 (diff)
parent977d318ac8ccb756bb90a8572f01bc6825b5d0a3 (diff)
merging latest changes
Diffstat (limited to 'indra/llui/lltexteditor.h')
-rw-r--r--indra/llui/lltexteditor.h5
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
//