Code::Blocks Forums

User forums => Nightly builds => Topic started by: killerbot on June 17, 2007, 05:05:10 pm

Title: The 17 June 2007 build will NOT be out.
Post by: killerbot on June 17, 2007, 05:05:10 pm
just 1 commit, let's keep it for tomorrow ;-)
Title: Re: The 17 June 2007 build will NOT be out.
Post by: cacb on June 17, 2007, 09:32:35 pm
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
Title: Re: The 17 June 2007 build will NOT be out.
Post by: Darck on June 18, 2007, 01:22:13 am
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.
Title: Re: The 17 June 2007 build will NOT be out.
Post by: killerbot on June 18, 2007, 07:36:48 am
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 ?
Title: Re: The 17 June 2007 build will NOT be out.
Post by: eranif on June 18, 2007, 08:30:36 am
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


Title: Re: The 17 June 2007 build will NOT be out.
Post by: 354 on June 18, 2007, 12:47:08 pm
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