Rubberband - jcb91/IPython-notebook-extensions-wiki GitHub Wiki

Multi-Cell selection using a rubberband. This extension is only available for IPython versions 3.x and 4.x.

Description

The rubberband extension allows selecting multiple cells. Cells are selected by pressing shift or ctrl+shift + left mouse button click and dragging the rubber band over the cells.

  • shift + left mouse button : select cells that are currently touched by the rubberband
  • ctrl + shift + left mouse button : select cells that were touched by the rubberband

The ctrl+shift action is useful when scrolling inside the notebook. Scrolling is activated when the mouse reaches the upper or lower boundary of the notebook area. For now, the mouse has to be moved to achieve continuous scrolling.

A short video demonstrating the rubberband extension can be found here: screenshot

Two other extensions make use of this feature: exercise and Chrome Clipboard.

Installation

Follow the installation instructions appropriate to your IPython version as explained on the main wiki home pages:

Internals

New metadata element added to each cell:

  • cell.metadata.selected - means this cell is selected