LLTextParser now a singleton.

This commit is contained in:
Shyotl
2011-07-31 19:09:47 -05:00
parent 3c244e6df0
commit 5e9cec2cc5
3 changed files with 33 additions and 45 deletions

View File

@@ -4095,7 +4095,7 @@ void LLTextEditor::appendHighlightedText(const std::string &new_text,
if (highlight && stylep)
{
LLSD pieces = highlight->parsePartialLineHighlights(new_text, stylep->getColor(), highlight_part);
LLSD pieces = highlight->parsePartialLineHighlights(new_text, stylep->getColor(), (LLTextParser::EHighlightPosition)highlight_part);
bool lprepend=prepend_newline;
for (S32 i=0;i<pieces.size();i++)
{