[IPython-dev] Cntr-s makes cell inactive

Matthias Bussonnier bussonniermatthias at gmail.com
Thu Mar 12 13:41:23 EDT 2015


Le 12 mars 2015 à 05:29, Zoltán Vörös <zvoros at gmail.com> a écrit :

> 
> 
> On 03/12/2015 12:13 AM, Matthias Bussonnier wrote:
>> in action.js.
>> 
>> 
>> when clicking on save button we ned to ensure that focus get back on notebook, so we call focus,
>> though when triggering the same action from keyboard, calling focus with to command mode.
>> 
>> Not a trivial change
> Too bad. I have actually looked at action.js, and I see that this 
> problem is a bit more involving. But is it not possible to inspect the 
> event in the 'save_notebook' action, and insert 
> env.notebook.focus_cell() for mouse clicks, and 
> env.notebook.command_mode() for key strokes? I have already tried this, 
> it nothing happened, though, I don't know, why...


Something like https://github.com/ipython/ipython/pull/8024 should help, if you want to have a look. 
-- 
M

> 
> 
> Cheers,
> Zoltán
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150312/114ae7c0/attachment.html>


More information about the IPython-dev mailing list