smart indent on paste for Python (PY-208)

This commit is contained in:
Dmitry Jemerov
2010-09-07 23:12:34 +04:00
parent 2b4b4f3044
commit e311373524
8 changed files with 46 additions and 0 deletions
@@ -0,0 +1,3 @@
def bar():
x = 1
y = 2
+2
View File
@@ -0,0 +1,2 @@
def bar():
<caret>
+4
View File
@@ -0,0 +1,4 @@
class C:
def foo(self):
<selection> x = 1
y = 2</selection>
@@ -0,0 +1,3 @@
def bar():
x = 1
y = 2
+2
View File
@@ -0,0 +1,2 @@
def bar():
<caret>
+4
View File
@@ -0,0 +1,4 @@
class C:
def foo(self):
<selection>x = 1
y = 2</selection>