Skip to content

[runtools] don't alter selection when running cells#1145

Merged
jcb91 merged 3 commits intoipython-contrib:masterfrom
jcb91:runtools
Nov 4, 2017
Merged

[runtools] don't alter selection when running cells#1145
jcb91 merged 3 commits intoipython-contrib:masterfrom
jcb91:runtools

Conversation

@jcb91
Copy link
Copy Markdown
Member

@jcb91 jcb91 commented Oct 26, 2017

fixes #1126
Also makes a bunch of simplifications/efficiency improvements to runtools.

jcb91 added 3 commits October 26, 2017 20:11
 * don't loop twice in initialization
 * find cell applying to CodeMirror instance using $().closest rather than looping
 * use setCells function to simplify marked toggling functions
 * use is_marked function over duplicating code
 * use cells.length over notebook.ncells, which calls get_cells again
 * don't use notebook.get_cell (which gets all cells first, internally) when we already have a list of cells
 * use function for showing/hiding marked cells' inputs/outputs, rather than duplicating
@jcb91 jcb91 merged commit e4c3c76 into ipython-contrib:master Nov 4, 2017
@jcb91 jcb91 deleted the runtools branch November 28, 2017 01:14
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

Successfully merging this pull request may close these issues.

[Runtools] expands collapsed headings

1 participant