[IPython-dev] Interactive magic cells

Fernando Perez fperez.net at gmail.com
Wed Jul 23 17:30:54 EDT 2014

I don't think we expose anything at the single-keystroke level. All that
happens client-side in the CodeMirror editor instance, so you'd have to
hook into that event handling loop to trigger execution requests at your
desired points (every keystroke, or every period, etc).



On Sun, Jul 20, 2014 at 8:51 AM, Akim Demaille <akim at lrde.epita.fr> wrote:

> Le 20 juil. 2014 à 12:34, Akim Demaille <akim at lrde.epita.fr> a écrit :
> >> but could also add some custom parsing for your language.
> >
> > Ah!!!  Of course!  Then I realize that I needs to write something
> > like what was done for %%script.  I'd be very happy to provide
> > syntactic highlighting, for instance.
> >
> > Is there a place with documentation on how to write extensions
> > such as %%bash and the like?
> Well, really, I have not seen anything about having a means to
> make a magic cell interactive.  If someone has an idea, I'd be happy
> to learn from it!
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

Fernando Perez (@fperez_org; http://fperez.org)
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
fernando.perez-at-berkeley: contact me here for any direct mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140723/132fb32a/attachment.html>

More information about the IPython-dev mailing list