You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a series of functions following the block comment, and collapse them.
Step 3.
In quick succession:
a. Add mulitple lines to the block comment
b. Collapsed the block comment
What should happen?
The program takes a second to update the lines that are represented to the collapsed code, and so if you add lines to above code, quickly, then collapse that block, the following lines should get hidden. Then will not be able to be unhidden once the lines are updated on the side-bar.
The text was updated successfully, but these errors were encountered:
dalthviz
changed the title
Spyder Bug - Code permanently being hidden (with step-by-step replication)
Code permanently being hidden when removing lines from a folding zone and then folding it
Feb 14, 2025
Hi @BPJones3D thank you for the report! I think I was able to reproduce this. In my case to reproduce it I had to quickly not add but delete lines and only by repopening the file I was able to see again the code that got hidden:
We will try to check a fix for this in a future release 👍
Description
What steps will reproduce the problem?
Step 1.
Create a block comment
Step 2.
Create a series of functions following the block comment, and collapse them.
Step 3.
In quick succession:
a. Add mulitple lines to the block comment
b. Collapsed the block comment
What should happen?
The program takes a second to update the lines that are represented to the collapsed code, and so if you add lines to above code, quickly, then collapse that block, the following lines should get hidden. Then will not be able to be unhidden once the lines are updated on the side-bar.
My code with the problem:
(all lines are uncollapsed, you can see the number gap between 71-208)
https://i.imgur.com/ejKmXTk.png
My code without the problem:
(you can see the 4 functions that are meant to occupy the space)
https://i.imgur.com/gBX2kHW.png
Versions
Dependencies
The text was updated successfully, but these errors were encountered: