Page 1 of 1

Syntax highlighting on variable initialisation

Posted: Mon May 02, 2016 1:14 am
by Skumball
I have written the following code to initialise three variables of the same type on one line. This is valid syntax however the second a third variables don't highlight in green on the first line or when used subsequently in the second line as if CodeLite doesn't recognise this syntax:

double num = 0, small = 0, large = 0;
cout<<num<<small<<large;

Re: Syntax highlighting on variable initialisation

Posted: Mon May 02, 2016 9:32 pm
by eranif
This is a known issue and reported on GitHub
https://github.com/eranif/codelite/issues/1258
Eran