Code::Blocks Forums
User forums => Help => Topic started by: Navarro on January 11, 2014, 06:11:37 am
-
I am not sure if this is a bug or intended behavior.
But I set my lines to break at 80 characters, and it appears that it doesn't count spaces at the beginning of the line, and just starts counting with the first non-space character.
Example:
void someFunction()
{
std::cout << "This line is supposed to be too long to be printed"; /*
^^ these spaces are not counted */
}
If the of this line starting at "s" in "std" and finishing with a semicolon is 82 characters long, it will not be broken until it is 84 characters long
However this breaks correctly
void someFunction()
{
std::cout << "This line is supposed to be too long to be printed"; /*
}