Code::Blocks Forums
User forums => Nightly builds => Topic started by: killerbot on June 17, 2007, 05:05:10 pm
-
just 1 commit, let's keep it for tomorrow ;-)
-
Thanks for the continued great work...
I hope you don't mind me repeating this issue
http://forums.codeblocks.org/index.php/topic,6098.msg46783.html#msg46783 (http://forums.codeblocks.org/index.php/topic,6098.msg46783.html#msg46783)
It really makes using 2 different compilers for different build targets very awkward. And using 2 different compilers in a cross platform IDE is not uncommon I think...?
Regards
cacb
-
I found error in code folding:
- editor doesn't ignore commented "}" :
//}
it corrupts structure, and cause incorrect function folding.
--------------
folded functions should be remembered after closing. the same with bookmarks.
-
I found error in code folding:
- editor doesn't ignore commented "}" :
//}
it corrupts structure, and cause incorrect function folding.
--------------
folded functions should be remembered after closing. the same with bookmarks.
could you please file a bug report for this on berlios ?
-
This was discussed in the past:
http://forums.codeblocks.org/index.php/topic,4318.0.html (http://forums.codeblocks.org/index.php/topic,4318.0.html)
It is not a bug but more of a feature:
scintilla lets you insert folding point without creating a function, you can do that by adding:
//{
//}
to your code. if you wish to comment an open brace simple put a space between the comment and the brace character:
//<space>{ <-- this will be ignored
-Eran
-
My suggestion for commenting out code is to use #if 0 #endif pairs. It's easy to find those commented code blocks later by searching for #if 0