summaryrefslogtreecommitdiff
path: root/indra/llui/lltextbase.h
diff options
context:
space:
mode:
authorDave Houlton <euclid@lindenlab.com>2020-10-14 16:23:05 -0600
committerDave Houlton <euclid@lindenlab.com>2020-10-14 16:23:05 -0600
commit317ff2ce6241b9eaccacbc27117351ebc3d5eea7 (patch)
tree2f162a12cd3b0878fca6d1d37124ef5adb2fa7f7 /indra/llui/lltextbase.h
parent846fc179b13ba06fe9a51be69d80e86d0f433a73 (diff)
parent52af846672d1d4f1cb9ccd46239cff9c81400ed5 (diff)
Merged 6.4.11 into DRTVWR-510
Diffstat (limited to 'indra/llui/lltextbase.h')
-rw-r--r--indra/llui/lltextbase.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llui/lltextbase.h b/indra/llui/lltextbase.h
index 8687e7aa2a..4e966b7cef 100644
--- a/indra/llui/lltextbase.h
+++ b/indra/llui/lltextbase.h
@@ -404,6 +404,7 @@ public:
virtual void setText(const LLStringExplicit &utf8str , const LLStyle::Params& input_params = LLStyle::Params()); // uses default style
virtual std::string getText() const;
void setMaxTextLength(S32 length) { mMaxTextByteLength = length; }
+ S32 getMaxTextLength() { return mMaxTextByteLength; }
// wide-char versions
void setWText(const LLWString& text);
@@ -432,6 +433,7 @@ public:
S32 getLength() const { return getWText().length(); }
S32 getLineCount() const { return mLineInfoList.size(); }
+ S32 removeFirstLine(); // returns removed length
void addDocumentChild(LLView* view);
void removeDocumentChild(LLView* view);