summaryrefslogtreecommitdiff
path: root/indra/newview/llpreviewscript.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llpreviewscript.cpp')
-rwxr-xr-xindra/newview/llpreviewscript.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/indra/newview/llpreviewscript.cpp b/indra/newview/llpreviewscript.cpp
index e778015965..1d95276c51 100755
--- a/indra/newview/llpreviewscript.cpp
+++ b/indra/newview/llpreviewscript.cpp
@@ -433,7 +433,7 @@ void LLScriptEdCore::updateKeywords()
{
if (mLive)
{
- clearHighlights();
+ mEditor->clearSegments();
mRegionChangedCallback.disconnect();
}
else
@@ -456,11 +456,6 @@ void LLScriptEdCore::processLoaded()
}
}
-void LLScriptEdCore::clearHighlights()
-{
- mEditor->clearSegments();
-}
-
void LLScriptEdCore::processKeywords()
{
if (mSyntaxIdLSL.isLoaded())
@@ -468,7 +463,7 @@ void LLScriptEdCore::processKeywords()
LL_INFOS("SyntaxLSL")
<< "Hashes are different, updating highlighter." << LL_ENDL;
- clearHighlights();
+ mEditor->clearSegments();
if (mSyntaxIdLSL.isLoaded())
{