mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
logic for indenting after pasting does not based on copying now
PY-6884, PY-6965, PY-6966, PY-6907
This commit is contained in:
@@ -2,6 +2,5 @@ class C:
|
||||
def foo(self):
|
||||
x = 1
|
||||
y = 2
|
||||
|
||||
def bar(self):
|
||||
pass
|
||||
@@ -0,0 +1,5 @@
|
||||
def f():
|
||||
try:
|
||||
a = 1
|
||||
except:
|
||||
b = 1
|
||||
@@ -0,0 +1,6 @@
|
||||
def f():
|
||||
try:
|
||||
<selection> a = 1
|
||||
except:
|
||||
b = 1
|
||||
</selection><caret>
|
||||
@@ -0,0 +1,6 @@
|
||||
def f():
|
||||
try:
|
||||
<selection> a = 1
|
||||
except:
|
||||
b = 1
|
||||
</selection><caret>
|
||||
@@ -0,0 +1,5 @@
|
||||
def f():
|
||||
if True:
|
||||
c = 1
|
||||
|
||||
a = 1
|
||||
@@ -0,0 +1,5 @@
|
||||
def f():
|
||||
if True:
|
||||
<caret>
|
||||
|
||||
a = 1
|
||||
@@ -0,0 +1,7 @@
|
||||
<selection>c = 1
|
||||
</selection>
|
||||
def f():
|
||||
try:
|
||||
a = 1
|
||||
except:
|
||||
b = 1
|
||||
@@ -0,0 +1,6 @@
|
||||
def f():
|
||||
|
||||
try:
|
||||
a = 1
|
||||
except:
|
||||
b = 1
|
||||
@@ -0,0 +1,5 @@
|
||||
def f():
|
||||
<caret>try:
|
||||
a = 1
|
||||
except:
|
||||
b = 1
|
||||
@@ -0,0 +1,7 @@
|
||||
<selection>
|
||||
</selection>
|
||||
def f():
|
||||
try:
|
||||
a = 1
|
||||
except:
|
||||
b = 1
|
||||
@@ -4,4 +4,3 @@ def f():
|
||||
print(0.1)
|
||||
else:
|
||||
print(0.1)
|
||||
<caret>
|
||||
@@ -1,5 +1,5 @@
|
||||
class C:
|
||||
<selection>def foo(self):
|
||||
<selection>def foo(self):
|
||||
x = 1
|
||||
y = 2
|
||||
</selection>
|
||||
@@ -1,6 +1,8 @@
|
||||
def f():
|
||||
a = 1
|
||||
b = 2
|
||||
|
||||
|
||||
def f():
|
||||
a = 1
|
||||
b = 2
|
||||
|
||||
@@ -6,4 +6,3 @@ def foo():
|
||||
b = 1
|
||||
|
||||
graph.clear = 0.1
|
||||
<caret>
|
||||
@@ -3,4 +3,3 @@ def f(self):
|
||||
if True:
|
||||
b = 2
|
||||
x = 1
|
||||
<caret>
|
||||
Reference in New Issue
Block a user