mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed inner function bug in copy-paste
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class C:
|
||||
def foo(self):
|
||||
y = 2
|
||||
|
||||
def foo(self):
|
||||
x = 1
|
||||
y = 2
|
||||
|
||||
def bar(self):
|
||||
y = 2
|
||||
@@ -0,0 +1,8 @@
|
||||
class C:
|
||||
def foo(self):
|
||||
y = 2
|
||||
|
||||
<caret>
|
||||
|
||||
def bar(self):
|
||||
y = 2
|
||||
@@ -0,0 +1,5 @@
|
||||
class C:
|
||||
<selection> def foo(self):
|
||||
x = 1
|
||||
y = 2
|
||||
</selection>
|
||||
@@ -147,6 +147,10 @@ public class PyCopyPasteTest extends PyTestCase {
|
||||
doTestMultiLine();
|
||||
}
|
||||
|
||||
public void testIndentFunction() {
|
||||
doTestMultiLine();
|
||||
}
|
||||
|
||||
private void doTest() {
|
||||
String name = getTestName(false);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user