summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCinder <cinder.roxley@phoenixviewer.com>2014-04-18 23:20:33 -0600
committerCinder <cinder.roxley@phoenixviewer.com>2014-04-18 23:20:33 -0600
commit46627b4eb2218babbc94421f9b93c03e2951cc6c (patch)
tree8655d038f54192a1e7ee05e5e5507fc81bd3ff07
parentdcffb97518cb2888489c93b90862518f761967dd (diff)
Remove clearHighlights()
-rwxr-xr-xindra/newview/llpreviewscript.cpp9
-rwxr-xr-xindra/newview/llpreviewscript.h1
2 files changed, 2 insertions, 8 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())
{
diff --git a/indra/newview/llpreviewscript.h b/indra/newview/llpreviewscript.h
index 913303d57d..3ac48ae9c4 100755
--- a/indra/newview/llpreviewscript.h
+++ b/indra/newview/llpreviewscript.h
@@ -77,7 +77,6 @@ protected:
public:
~LLScriptEdCore();
- void clearHighlights();
void initialiseKeywords();
void initMenu();
void processKeywords();