User forums > General (but related to Code::Blocks)
Code Folding Bugs (Solved Again... and Again)
joubertdj:
:) Submitted as: Patch Nr.: 001715
joubertdj:
:? Now to tackle the other code folding bugs...
killerbot:
--- Quote from: joubertdj on December 12, 2006, 08:35:52 am --- :) Submitted as: Patch Nr.: 001715
--- End quote ---
nice work, patch will be applied shortly ;-)
joubertdj:
:D Another Patch for other Code Folding Bug Nr 006965. Patch Number: 001716 :D
killerbot:
there's a side effect :
consider this as the contents of a header file :
--- Code: ---#ifndef _NETSAL_H_INCLUDED_
#define _NETSAL_H_INCLUDED_
namespace ns
{
class CTest
{
CTest();
};
} // namespace ns
#endif // _NETSAL_H_INCLUDED_
--- End code ---
When it was initially not folded at all, and I turn on the fold of the preprocessor, then when I return to my editor, it is folded.
Not good : I allowed preprocessor stuff also to be folded, but it shouldn't be done automatically.
So now that my entire header is folded, let's continue the test : Back to the options and untick the preprocessor folding. Now when I arrive back in my editor, the preprocessor stuff is no longer folded (good) BUT in my example the namespace is folded --> NOT good.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version