[IPython-dev] comment toggling in notebook
Juergen Hasch
python at elbonia.de
Mon Dec 16 16:28:25 EST 2013
I ran into the same issue some time ago. The comment hotkeys are handled by CodeMirror using the comment addon
(\addon\comment\comment.js). It doesn't occur for me in the latest Github version of CodeMirror anymore.
Am 16.12.2013 21:55, schrieb Zoltán Vörös:
> Thomas,
>
> Thanks for the prompt feedback! OK, then I will try to figure out first where the glitch is.
>
> Cheers,
> Zoltán
>
> On 16/12/13 21:53, Thomas Kluyver wrote:
>> On 16 December 2013 12:28, Zoltán Vörös <zvoros at gmail.com <mailto:zvoros at gmail.com>> wrote:
>>
>> print 'test' # this is just a test
>>
>> When I press Cntr-/, I get
>>
>> print 'test' this is just a test
>>
>> and when I press it the second time, I get
>>
>> # print 'test' this is just a test
>>
>> Is there a reason for not leaving the line alone, and not removing only
>> the leading hash marks? If the developers want me to, I can try to fix
>> the code.
>>
>>
>> No, that seems like a bug. If it's something in our code, by all means make a PR, but I'd guess that something like
>> that is actually part of CodeMirror, the editor component we use for code cells. If it is, I imagine the CodeMirror
>> devs would be happy to get a fix, unless it's already been fixed there, and we just need to update.
>>
>> Thomas
>>
>>
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev at scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
More information about the IPython-dev
mailing list