Author Topic: Folding saving not working  (Read 433 times)

Offline rogeriodec

  • Multiple posting newcomer
  • *
  • Posts: 38
Folding saving not working
« on: March 19, 2018, 05:37:23 pm »
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 11313

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10736
    • Travis build status
Re: Folding saving not working
« Reply #1 on: March 19, 2018, 07:02:57 pm »
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!]

Offline rogeriodec

  • Multiple posting newcomer
  • *
  • Posts: 38
Re: Folding saving not working
« Reply #2 on: March 20, 2018, 03:45:42 pm »
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 11313

Offline rogeriodec

  • Multiple posting newcomer
  • *
  • Posts: 38
Re: Folding saving not working
« Reply #3 on: March 21, 2018, 12:28:12 am »
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 11313

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10736
    • Travis build status
Re: Folding saving not working
« Reply #4 on: March 21, 2018, 12:58:26 am »
Bug confirmed...
(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!]

Offline rogeriodec

  • Multiple posting newcomer
  • *
  • Posts: 38
Re: Folding saving not working
« Reply #5 on: March 21, 2018, 01:03:20 am »
Thanks.
Do I need to post some bug ticket?
Windows 8.1

SVN 11313

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10736
    • Travis build status
Re: Folding saving not working
« Reply #6 on: March 21, 2018, 09:48:40 am »
If you like...
(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!]

Offline rogeriodec

  • Multiple posting newcomer
  • *
  • Posts: 38
Re: Folding saving not working
« Reply #7 on: March 21, 2018, 02:11:21 pm »
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 11313

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10736
    • Travis build status
Re: Folding saving not working
« Reply #8 on: March 21, 2018, 04:54:20 pm »
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!]

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 10736
    • Travis build status
Re: Folding saving not working
« Reply #9 on: March 28, 2018, 12:04:21 am »
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!]

Offline rogeriodec

  • Multiple posting newcomer
  • *
  • Posts: 38
Re: Folding saving not working
« Reply #10 on: March 28, 2018, 09:23:50 pm »
Thank you. Where can I find it? It's not In the nightly build yet.
Windows 8.1

SVN 11313

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6160
    • My Best Post
Re: Folding saving not working
« Reply #11 on: March 29, 2018, 03:27:13 am »
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++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Testing, compiling CB Trunk against wxWidgets 3.0.2.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org