summaryrefslogtreecommitdiff
path: root/indra/llui/lltextbase.h
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2020-10-14 22:01:05 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2020-10-14 22:01:05 +0300
commit42330f2008181d2246ae4684f1eaa299c1228166 (patch)
tree55712fca315af466516de9effc4a5132d3a20d35 /indra/llui/lltextbase.h
parenta9f70ec80e3799489ec265b2eedcf77d5dc0d342 (diff)
parenta2c8c8238cfb109e0da81363995e08e99173426f (diff)
Merge branch 'master' into DRTVWR-483
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 dec23b225f..5d9c15bb19 100644
--- a/indra/llui/lltextbase.h
+++ b/indra/llui/lltextbase.h
@@ -407,6 +407,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);
@@ -435,6 +436,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);