Files
openide/python/testData/copyPaste/InnerToOuterFunction.src.py
Ekaterina Tuzova b16f001f8f fixed PY-9337 Copy paste doesn't always preserve the relative indentation of what is pasted.
check if we need to add leading spaces to pasted text
2013-04-09 19:31:15 +04:00

11 lines
193 B
Python

# original function # this is line 1 of the code.
def foo():
print 'f00'
<selection>def bar(num):
for _ in range(num):
print 'bar'
bar(7)</selection><caret>