aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llui
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llui')
-rw-r--r--linden/indra/llui/lltexteditor.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/linden/indra/llui/lltexteditor.cpp b/linden/indra/llui/lltexteditor.cpp
index dd72a69..79966c2 100644
--- a/linden/indra/llui/lltexteditor.cpp
+++ b/linden/indra/llui/lltexteditor.cpp
@@ -3869,6 +3869,12 @@ void LLTextEditor::onTabInto()
3869// virtual 3869// virtual
3870void LLTextEditor::clear() 3870void LLTextEditor::clear()
3871{ 3871{
3872 // Also clear any styling we might have added -- MC
3873 mParseHTML = FALSE;
3874 mParseHighlights = FALSE;
3875
3876 mSegments.clear();
3877
3872 setText(LLStringUtil::null); 3878 setText(LLStringUtil::null);
3873 std::for_each(mSegments.begin(), mSegments.end(), DeletePointer()); 3879 std::for_each(mSegments.begin(), mSegments.end(), DeletePointer());
3874 mSegments.clear(); 3880 mSegments.clear();