[IPython-dev] Questions on implementing some notebook frontend extensions

Matthias Bussonnier bussonniermatthias at gmail.com
Sat Mar 7 22:48:58 EST 2015

> 2. Add a keyboard shortcut to automatically reformat a cell, and have this actually change the contents of whichever cell is currently selected, provided it is a Haskell cell.
> Idea: Use the IPython API to add a keyboard shortcut, use comms to communicate with backend to do reformatting, use IPython API to get currently selected cell and send contents to kernel via comm, and  use  IPython APIs to change the contents of a cell.
> Sounds right to me.

Doesn't the Api for %load now have a replace=<Bool> flag that would replace current cell ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150307/4eb9a796/attachment.html>

More information about the IPython-dev mailing list