[Notebook] Line is deindented when typing eg a colon in markdown mode #2475

Closed
jorisvandenbossche opened this Issue Oct 8, 2012 · 5 comments

Projects

None yet

3 participants

@jorisvandenbossche

In the ipython notebook, when typing eg a colon : on a indented line, the line becomes deindented. Eg. when typing a list with sublists, this can be a little bit annoying. It also happens with /

Is this intended behaviour?

At the moment, I am using IPython 0.13, Firefox, Windows 7

@Carreau
IPython member

Can you try on last master ? It seem to behave correctly for me.
Indentation should be handled by CodeMirror (Js library) .
If it still happend, we should open a bug report upstream.

Thanks.

@jorisvandenbossche

I am now on Ubuntu 12.04 and tested in on master, and for me it behaves the same as I described, both in firefox as in chrome.

So for example in a markdown cell:

- list
    - subitem:

when typing the last ":", the line jumps back to no indentation.

@Carreau
IPython member

Oh ! I missed the Markdown word in the title.

So yes, it does that for me too.
Sorry, i'm too tired.

@minrk
IPython member

I believe this is fixed now, thanks to codemirror updates.

@minrk minrk closed this Jul 4, 2013
@jorisvandenbossche

Indeed, also fixed for me in master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment