summaryrefslogtreecommitdiff
path: root/indra/llui
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2026-09-08 14:58:09 +0300
committerAndrey Lihatskiy <118752495+marchcat@users.noreply.github.com>2026-09-08 23:52:51 +0300
commit2eacbf973f9b5dfe9f636c36e8dd4100fdd1b8de (patch)
treee1a2dd464022507bfe294c37e04100a52dbc66b8 /indra/llui
parent80abdc85edceb0a7b41e66f12a8c68c9057492e4 (diff)
#6219 Preserve Lua constant highlighting
Diffstat (limited to 'indra/llui')
-rw-r--r--indra/llui/llkeywords.cpp7
1 files changed, 1 insertions, 6 deletions
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";
}