Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: stanley82521 on June 11, 2013, 06:02:28 am
-
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
-
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?
-
The code folding function doesn't work when the file is newly created in C::B.
It is a bug.
-
It is a bug.
...fixed in SVN head. Thanks for the report!