News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Folding saving not working

Started by rogeriodec, March 19, 2018, 05:37:23 PM

Previous topic - Next topic

rogeriodec

I have done some tests to save a source code with some folded parts and the behavior is weird and fickle, sometimes cb saves the first folding, after I close and open the text again, the first one is sometimes saved and the others are not, other times no parts are folded.
How can I fix this?
Windows 8.1

SVN 11400

oBFusCATed

Start by reporting a version and os you're using. And make sure to try the latest released version (or night build if possible).

If you're running latest code try to reproduce the problem with a minimal example. If you can then post here or in the tickets page on sf.net.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

rogeriodec

Sorry.
Windows 8.1
CB 17.12 (last available).

  • Create a new project/console application c++
  • Position the cursor on line 6 (below int main())
  • Fold current block
  • Save the file
  • Exit CB
  • Open CB again
  • Open last file
The block is not folded.
Windows 8.1

SVN 11400

rogeriodec

In addition to the specifications I passed above, I report that I upgraded to the last nightly build (11313) and the problem persists.
Windows 8.1

SVN 11400

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

rogeriodec

Thanks.
Do I need to post some bug ticket?
Windows 8.1

SVN 11400

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

rogeriodec

In fact my question is to know if this bug found here will already be in the queue for corrections just for being mentioned here in the forum? That is, if I do not open a ticket, is it possible that this bug is forgotten?
Windows 8.1

SVN 11400

oBFusCATed

Yes, it is possible.
But probably won't, because I indent to fix it soon... if this is possible with the latest scintilla... we will see.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

oBFusCATed

Fixed in rev 11350.
Please test and report if it works or not...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

rogeriodec

Thank you. Where can I find it? It's not In the nightly build yet.
Windows 8.1

SVN 11400

stahta01

Quote from: rogeriodec on March 28, 2018, 09:23:50 PM
Thank you. Where can I find it? It's not In the nightly build yet.

Build Code::Blocks from SVN or wait till the next nightly build.

Note: nightly build are more like weekly or monthly builds.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]