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

notebook -- new cell_resize doesn't respect %hide at the beginning of a cell #3053

Closed
williamstein opened this issue Apr 29, 2008 · 4 comments

Comments

@williamstein
Copy link
Contributor

If a cell starts with %hide, it should not be shown unless it is in focus. The new cell_resize code doesn't respect this. To see this:

  1. Load a fresh worksheet with %hide's -- none of them are hidden. Click on input cells then out hide them.

  2. Resize a web browser window with %hides -- suddenly all %hide inputs are shown.

Component: notebook

Issue created by migration from https://trac.sagemath.org/ticket/3053

@williamstein
Copy link
Contributor Author

Attachment: sage-3053.patch.gz

@williamstein
Copy link
Contributor Author

comment:1

Attached patch does this:

trac #3053 -- new cell_resize doesn't respect %hide at the beginning of a cell

  1. Fix the listed problem.
  2. Fix the %hide styling a bit; make %hide be grey
  3. Make %hide work consistently on new page refresh versus in a running worksheet
  4. Make cell be resized when clicking on an input area. This makes editing
    a %hide much more natural.

@boothby
Copy link

boothby commented May 12, 2008

comment:2

nice!

@sagetrac-mabshoff
Copy link
Mannequin

sagetrac-mabshoff mannequin commented May 12, 2008

comment:3

Merged in Sage 3.0.2.alpha1

@sagetrac-mabshoff sagetrac-mabshoff mannequin closed this as completed May 12, 2008
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants