It seems the IDE doesn't line variable names that start with "new"
This code
int newflag
string newtext
istring newitext[10]
uint newnum
displays like this
Quoteint newflag
string newtext
istring newitext[10]
uint newnum
but functionality appears to be okay
I'm writing from memory here (so please forgive me if I'm wrong), but I think that "new" is a keyword. The IDE is probably not running with exactly the same rules as the parser, so it may treat the string "new" as a keyword and colorize it as such.
What happens if "new" is not the first part of the name? For example, "int isNew".
QuoteWhat happens if "new" is not the first part of the name? For example, "int isNew".
No problem there. That displays fine.
Appears incorrectly only when new is preceeded by a space(like a keyword as you mentioned).
int newflag -bad
int new_flag -bad
int newton -bad