Code editor not coloring after string concatenation

This is how it should look when putting a tostring function after concatenating a string:

tostring(50).."/"..tostring(100)

This is how it looks in the Studio code editor:
tostring%20issue
The code editor doesn’t highlight tostring after the .. operator

Some things to be noted:

  • Spacing out the .. operator results in the correct highlighting.
  • Not spacing out the .. operator results in incorrect highlighting.
  • Neither are syntax errors and will execute correctly, so the expected behavior is that both ways of writing it highlight.

Please fix this, it’s very annoying to my perfectionism! :slightly_smiling_face:

9 Likes

I’ve noticed this as well, happens with any highlighted word!

image

1 Like