'TODO' comments don't always render properly

When writing ‘TODO’ comments in the script editor, they stop rendering with the correct highlighting when indented 4+ times.

Visual aids:
image

System:
MacOS 15.3.1 Silicon

Beta Features:

  • Avatar joint upgrade

Repro: (workspace.Script)
‘todo’_repro.rbxl (54.8 KB)

Expected behavior

As displayed in the visual aids, all the ‘TODO’ comments should render the same, regardless of indentation

2 Likes

Thanks for the bug report. We are able to reproduce this issue and will prepare a fix.

1 Like

Hi, turns out that this report is caused by the same logic change that causes a previously reported bug.

We’re going to track these together under the first issue. For updates, check out the existing thread here.