meteor-client icon indicating copy to clipboard operation
meteor-client copied to clipboard

[Bug] Oversight in StarscriptTextBoxRenderer

Open RacoonDog opened this issue 3 years ago • 0 comments

Describe the bug

If the name of a variable starts with the same characters as a keyword, it will make those characters have the keyword color, while the rest of the variable name has the variable color.

Steps to reproduce

1. Have a variable whose name starts with the same characters as a keyword. (eg. `orion_prefix`, `orion_version`)
2. Use them in a text box which uses the `StarscriptTextBoxRenderer`

Meteor Version

0.5.1-1571

Minecraft Version

1.19.1

Operating System

Windows

Before submitting a bug report

  • [X] This bug wasn't already reported. (I have checked every bug report on github)

  • [X] This is a valid bug. (I am able to reproduce this on the latest dev build)

RacoonDog avatar Jul 31 '22 06:07 RacoonDog