summaryrefslogtreecommitdiff
path: root/indra/newview/llscripteditor.cpp
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2026-04-28 10:23:44 -0700
committerRider Linden <rider@lindenlab.com>2026-04-28 10:23:44 -0700
commit364ff6e6d45087653a302b96ccd8c9e02db2b9d1 (patch)
tree3da2f933413d2e7cf640c674b28287918b0753a4 /indra/newview/llscripteditor.cpp
parent65b9b2cb5cde2c344da51a7b677c1b99591d8ad3 (diff)
Refactor the LLSyntaxIDLSL/Lua into single LLSyntaxDefCache, use new cap when available to retrieve all language definition files and cache them locally.
Retrieve the default definition files from the LSL definitions precompiled library.
Diffstat (limited to 'indra/newview/llscripteditor.cpp')
-rw-r--r--indra/newview/llscripteditor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llscripteditor.cpp b/indra/newview/llscripteditor.cpp
index 2a4c2b9d0b..ac6b81f677 100644
--- a/indra/newview/llscripteditor.cpp
+++ b/indra/newview/llscripteditor.cpp
@@ -342,8 +342,8 @@ void LLScriptEditor::drawLineNumbers()
void LLScriptEditor::initKeywords(bool luau_language)
{
- mKeywordsLua.initialize(LLSyntaxLua::getInstance()->getKeywordsXML(), true);
- mKeywordsLSL.initialize(LLSyntaxIdLSL::getInstance()->getKeywordsXML(), false);
+ mKeywordsLua.initialize(LLSyntaxDefCache::getInstance()->getLuaKeywords(), true);
+ mKeywordsLSL.initialize(LLSyntaxDefCache::getInstance()->getLSLKeywords(), false);
mLuauLanguage = luau_language;