Closed brobeson closed 9 years ago
If a range of lines to comment includes blank lines, the comment markers are at the left margin, instead of against the code. It produces the same incorrect result when the code is folded prior to invocation.
Example:
namespace Foo { // void bar() // { // std::cout << "fun times\n"; // // std::cout << "good times\n"; // } }
The correct result is:
namespace Foo { //void bar() //{ // std::cout << "fun times\n"; // // std::cout << "good times\n"; //} }
This needs to be fixed in
Correcting the folded code will not be fixed. The fold text reports how many lines are folded; use that as the range to the command.
If a range of lines to comment includes blank lines, the comment markers are at the left margin, instead of against the code. It produces the same incorrect result when the code is folded prior to invocation.
Example:
The correct result is:
This needs to be fixed in