Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Splitting cells breaks collapsible headings #1164

Closed
mxxun opened this issue Nov 21, 2017 · 1 comment
Closed

Splitting cells breaks collapsible headings #1164

mxxun opened this issue Nov 21, 2017 · 1 comment

Comments

@mxxun
Copy link

mxxun commented Nov 21, 2017

Given two header cells, first collapsed (with section under it hidden), and second immediately following the hidden section, splitting the second with Ctrl+Shift+Minus hides it and its whole section.
Reloading the notebook or editing and executing any Markdown cell unhides them as is proper, but having a whole section disappear without a trace is unsettling.

@jcb91
Copy link
Member

jcb91 commented Nov 21, 2017

having a whole section disappear without a trace is unsettling

Absolutely, this isn't really acceptable behaviour. The reason it happens is that headings don't get reconsidered on calling cell.set_text, but on a bunch of other occurrences. I think this has caused similar problems before, so it probably makes sense to patch the MarkdownCell.set_text method directly...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants