##// END OF EJS Templates
Backport PR #10264: Indent on new line by looking at the text before the cursor....
Backport PR #10264: Indent on new line by looking at the text before the cursor. that would allow edit like the following to insert the right amount of space on the newline (`|` is the cursor) class Bar: def __init__(self):|<enter> self.filed=0 Instead of inserting a blank line with 0 space. Closes 9283 --- takluyver can you have a look ?

File last commit:

r21892:abd03140
r23340:f81feb85
Show More
kernel.py
13 lines | 297 B | text/x-python | PythonLexer
"""[DEPRECATED] Utilities for connecting to kernels
Moved to IPython.kernel.connect
"""
import warnings
warnings.warn("IPython.lib.kernel moved to IPython.kernel.connect in IPython 1.0,"
" and will be removed in IPython 6.0.",
DeprecationWarning
)
from ipykernel.connect import *