Skip to content

SLua viewer: TRUE and FALSE are highlighted in the editor #5263

Description

@canny

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions