News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Folding Bug in C::B

Started by stanley82521, June 11, 2013, 06:02:28 AM

Previous topic - Next topic

stanley82521

The code folding function doesn't work when the file is newly created in C::B.
It only works when opening an existing file.
For example, click "File >> New >> Empty file" and type some code, the folding icon and lines don't appear in the left gutter.

Test under Windows 7, 12.11 official release and my own build from SVN trunk (revision 9130 with wxMSW 2.8.12, MinGW GCC 4.8.1 on Windows, 32-bit build). This problem also appears in the Linux 12.11  release (wxWidgets 2.8.12, GCC 4.7.2 on Linux, 64-bit build from Manjaro repo).

Create a new file and input some code, no folding icons  :( :
http://i.imgur.com/jMbbWEl.png

Close the file and open again. This time it works as expect:
http://i.imgur.com/HS5p8MA.png

stanley82521

Nobody want to reply me...
Isn't it a bug? Is it a feature or so?  ???
Or... just because I post this article at wrong place?

danselmi

#2
QuoteThe code folding function doesn't work when the file is newly created in C::B.
It is a bug.
spell checker plugin: [url="http://developer.berlios.de/projects/spellchecker/"]http://developer.berlios.de/projects/spellchecker/[/url]
nassi shneiderman plugin: [url="http://developer.berlios.de/projects/nassiplugin"]http://developer.berlios.de/projects/nassiplugin[/url]

MortenMacFly

Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]