diff options
| author | Andrey Lihatskiy <alihatskiy@productengine.com> | 2025-02-12 16:11:55 +0200 |
|---|---|---|
| committer | Andrey Lihatskiy <alihatskiy@productengine.com> | 2025-02-12 16:12:42 +0200 |
| commit | ad7dee8aa08bb6207f95a50c8d1eeb55e8e0d81e (patch) | |
| tree | c3d9eb897785b59e30fd53adb8b511767f158881 | |
| parent | 34c1627b8ca9949bcb3c2b626b5a5f9840b2dee9 (diff) | |
#3422 Add Lua keywords
| -rw-r--r-- | indra/newview/app_settings/keywords_lsl_default.xml | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/indra/newview/app_settings/keywords_lsl_default.xml b/indra/newview/app_settings/keywords_lsl_default.xml index f99b86bd39..55ca45bcef 100644 --- a/indra/newview/app_settings/keywords_lsl_default.xml +++ b/indra/newview/app_settings/keywords_lsl_default.xml @@ -3,6 +3,88 @@ <map> <key>controls</key> <map> + <!-- Lua-only keywords --> + <key>and</key> + <map> + <key>tooltip</key> + <string>Logical AND operator. (Lua)</string> + </map> + <key>break</key> + <map> + <key>tooltip</key> + <string>Exits a loop immediately. (Lua)</string> + </map> + <key>elseif</key> + <map> + <key>tooltip</key> + <string>Provides an additional conditional branch in an if–else chain. (Lua)</string> + </map> + <key>end</key> + <map> + <key>tooltip</key> + <string>Terminates a block initiated by if, do, or function. (Lua)</string> + </map> + <key>false</key> + <map> + <key>tooltip</key> + <string>Boolean constant representing false. (Lua)</string> + </map> + <key>function</key> + <map> + <key>tooltip</key> + <string>Declares a function. (Lua)</string> + </map> + <key>goto</key> + <map> + <key>tooltip</key> + <string>Transfers control to a labeled statement. (Lua)</string> + </map> + <key>in</key> + <map> + <key>tooltip</key> + <string>Used in for loops to iterate over elements in a collection. (Lua)</string> + </map> + <key>local</key> + <map> + <key>tooltip</key> + <string>Declares a variable or function with local scope. (Lua)</string> + </map> + <key>nil</key> + <map> + <key>tooltip</key> + <string>Represents a non-existent or undefined value. (Lua)</string> + </map> + <key>not</key> + <map> + <key>tooltip</key> + <string>Logical NOT operator; inverts a boolean value. (Lua)</string> + </map> + <key>or</key> + <map> + <key>tooltip</key> + <string>Logical OR operator. (Lua)</string> + </map> + <key>repeat</key> + <map> + <key>tooltip</key> + <string>Begins a repeat-until loop. (Lua)</string> + </map> + <key>then</key> + <map> + <key>tooltip</key> + <string>Follows an if condition to indicate the start of the consequent block. (Lua)</string> + </map> + <key>true</key> + <map> + <key>tooltip</key> + <string>Boolean constant representing true. (Lua)</string> + </map> + <key>until</key> + <map> + <key>tooltip</key> + <string>Ends a repeat-until loop, specifying the condition to exit. (Lua)</string> + </map> + <!-- LSL keywords --> <key>do</key> <map> <key>tooltip</key> |
