diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-04-01 20:22:25 +0300 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2019-04-01 20:22:25 +0300 |
commit | 580b35c8ea59187d5197e712022b706df3655f86 (patch) | |
tree | d049b555e86e00742440f9005473c381a707cbea /indra/llui/lltextbase.cpp | |
parent | acdca357c2a7fec60d24e1adba0dd822d7d677b9 (diff) |
SL-307 Display in-viewer all warning messages logged by the mesh uploader
Diffstat (limited to 'indra/llui/lltextbase.cpp')
-rw-r--r-- | indra/llui/lltextbase.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/llui/lltextbase.cpp b/indra/llui/lltextbase.cpp index c570285856..f4713e19ba 100644 --- a/indra/llui/lltextbase.cpp +++ b/indra/llui/lltextbase.cpp @@ -2215,6 +2215,18 @@ void LLTextBase::needsReflow(S32 index) mReflowIndex = llmin(mReflowIndex, index); } +S32 LLTextBase::removeFirstLine() +{ + if (!mLineInfoList.empty()) + { + S32 length = getLineEnd(0); + deselect(); + removeStringNoUndo(0, length); + return length; + } + return 0; +} + void LLTextBase::appendLineBreakSegment(const LLStyle::Params& style_params) { segment_vec_t segments; |