Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Folding Bug in C::B

(1/1)

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:

--- Quote ---The code folding function doesn't work when the file is newly created in C::B.
--- End quote ---
It is a bug.

MortenMacFly:

--- Quote from: danselmi on June 13, 2013, 07:59:17 pm ---It is a bug.

--- End quote ---
...fixed in SVN head. Thanks for the report!

Navigation

[0] Message Index

Go to full version