Only parse highlights (script keyword parsing) for script editor

This commit is contained in:
Lirusaito
2019-03-24 18:54:10 -04:00
parent bd39b29c1d
commit 1839a37294
4 changed files with 2 additions and 6 deletions

View File

@@ -272,6 +272,7 @@ BOOL LLScriptEdCore::postBuild()
mEditor = getChild<LLViewerTextEditor>("Script Editor");
mEditor->setHandleEditKeysDirectly(TRUE);
mEditor->setParseHighlights(TRUE);
childSetCommitCallback("lsl errors", &LLScriptEdCore::onErrorList, this);
childSetAction("Save_btn", boost::bind(&LLScriptEdCore::doSave,this,FALSE));