From 2eacbf973f9b5dfe9f636c36e8dd4100fdd1b8de Mon Sep 17 00:00:00 2001 From: Andrey Lihatskiy Date: Tue, 8 Sep 2026 14:58:09 +0300 Subject: #6219 Preserve Lua constant highlighting --- indra/llui/llkeywords.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'indra/llui/llkeywords.cpp') diff --git a/indra/llui/llkeywords.cpp b/indra/llui/llkeywords.cpp index b1f1fb77f3..a728f66000 100644 --- a/indra/llui/llkeywords.cpp +++ b/indra/llui/llkeywords.cpp @@ -201,12 +201,7 @@ LLUIColor LLKeywords::getColorGroup(std::string_view key_in) const color_group = "SyntaxLslGodMode"; } else if (key_in == "constants" - || key_in == "constants-integer" - || key_in == "constants-float" - || key_in == "constants-string" - || key_in == "constants-key" - || key_in == "constants-rotation" - || key_in == "constants-vector") + || key_in.compare(0, 10, "constants-") == 0) { color_group = "SyntaxLslConstant"; } -- cgit v1.3