secondlife / secondlife/viewer

SLua viewer: TRUE and FALSE are highlighted in the editor

Open
#5,263 7 comments 0 reactions 1 assignee View on GitHub

@marchcat is already working on this.

Since Jan 13, 2026.

  • #5267 by @marchcat — merged
SLua stale
Dominant language
C++
Stars
299
Forks
146
Avg merge
1d 9h
Merged PRs (30d)
88

Description

Second Life Project Lua Editor 7.2.3.20806470783 (64bit)

The in-world editor in SLua highlights the old LSL constants TRUE and FALSE.

It's confusing for students who are learning SLua booleans.

https://secondlife.canny.io/admin/board/slua-alpha/p/true-and-false-are-highlighted-in-the-editor

Test plan

  • Make a Luau script and use TRUE and FALSE somewhere in the script. E.g. function LLEvents.touch_start(TRUE, FALSE)
  • Verify TRUE and FALSE are not highlighted in the Editor and there is no hover text when the mouse cursor is over them.
  • Make a Luau script and use TRUE and FALSE somewhere in the script. E.g. function LLEvents.touch_start(true, false)-
  • Verify true and false are highlighted.


This repo is using Opire - what does it mean? 👇
💵 Everyone can add rewards for this issue commenting /reward 100 (replace 100 with the amount).
🕵️‍♂️ If someone starts working on this issue to earn the rewards, they can comment /try to let everyone know!
🙌 And when they open the PR, they can comment /claim #5263 either in the PR description or in a PR's comment.

🪙 Also, everyone can tip any user commenting /tip 20 @canny[bot] (replace 20 with the amount, and @canny[bot] with the user to tip).

📖 If you want to learn more, check out our documentation.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.