mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed PY-6889 Incorrect indent on pasting class method on module-level right after the class itself
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
def f():
|
||||
a = 1
|
||||
b = 2
|
||||
def f():
|
||||
a = 1
|
||||
b = 2
|
||||
@@ -0,0 +1,4 @@
|
||||
def f():
|
||||
a = 1
|
||||
b = 2
|
||||
<caret>
|
||||
@@ -0,0 +1,4 @@
|
||||
<selection>def f():
|
||||
a = 1
|
||||
b = 2
|
||||
</selection>
|
||||
@@ -179,6 +179,10 @@ public class PyCopyPasteTest extends PyTestCase {
|
||||
doTestSingleLine();
|
||||
}
|
||||
|
||||
public void testIndentTopLevel() { //PY-6889
|
||||
doTestMultiLine();
|
||||
}
|
||||
|
||||
private void doTest() {
|
||||
String name = getTestName(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user