mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 01:21:38 -05:00
Merge pull request #479 from dickmao/toggle-output-peachpuff-pink
Toggle output (C-c C-e) should also invalidate footer
This commit is contained in:
commit
14b2716363
2 changed files with 3 additions and 2 deletions
|
@ -44,7 +44,7 @@ Scenario: Collapse doesn't break undo
|
||||||
And I press "C-<up>"
|
And I press "C-<up>"
|
||||||
And I press "C-c C-e"
|
And I press "C-c C-e"
|
||||||
And I press "C-/"
|
And I press "C-/"
|
||||||
Then the cursor should be at point "76"
|
Then the cursor should be at point "77"
|
||||||
And I undo again
|
And I undo again
|
||||||
Then the cursor should be at point "55"
|
Then the cursor should be at point "55"
|
||||||
|
|
||||||
|
|
|
@ -675,7 +675,8 @@ Return language name as a string or `nil' when not defined.
|
||||||
(setf (slot-value cell 'collapsed) collapsed)
|
(setf (slot-value cell 'collapsed) collapsed)
|
||||||
(apply #'ewoc-invalidate
|
(apply #'ewoc-invalidate
|
||||||
(slot-value cell 'ewoc)
|
(slot-value cell 'ewoc)
|
||||||
(ein:cell-element-get cell :output))))
|
(append (ein:cell-element-get cell :output)
|
||||||
|
(list (ein:cell-element-get cell :footer))))))
|
||||||
|
|
||||||
(cl-defmethod ein:cell-collapse ((cell ein:codecell))
|
(cl-defmethod ein:cell-collapse ((cell ein:codecell))
|
||||||
(ein:cell-set-collapsed cell t))
|
(ein:cell-set-collapsed cell t))
|
||||||
|
|
Loading…
Add table
Reference in a new issue