Sublime Forum

Wrong invalid syntax highlighting

#1

Sublime text editor recognize this code as invalid: float angle0 = Mathf.Atan((speedSquared + root) / (gravity * distance));

0 Likes

#2

which language syntax is this?

0 Likes

#3

This code is written in C# .

0 Likes

#4

looks fine here with build 3157, which build are you using?

0 Likes

#5

Version 3.0 Build 3143

0 Likes

#6

Oops, my bad, i have forgotten to wrap this inside method…

0 Likes