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

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

Merged
merged 3 commits into from
Nov 4, 2017

Conversation

jcb91
Copy link
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