User forums > Help
Line breaking in Source Code Formatter (13.12)
(1/1)
Navarro:
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:
--- Quote ---void someFunction()
{
std::cout << "This line is supposed to be too long to be printed"; /*
^^ these spaces are not counted */
}
--- End quote ---
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
--- Quote ---void someFunction()
{
std::cout << "This line is supposed to be too long to be printed"; /*
}
--- End quote ---
Navigation
[0] Message Index
Go to full version