My live syntax highlighter does not work

image
It appears that real editor shows additional }. I am not sure why.
oh wait
its because there are missing \n

Make sure all the settings are the exact same on both the textbox and textlabel, otherwise things like that may happen. Double check your font, font size, spacing, etc.

nvm. I fixed the issue by using another textbox instead of textlabel. However more than 3 line breaks have the same issue.
image

That’s due to RichText, which seems to strip extra newlines. I’m really not sure if that behavior is intentional, but I don’t think it should be doing that so you might want to file a bug report.

1 Like