mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed PY-5525 Move statement: loses code on moving one-line comment up to function with nested indent
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
def f():
|
||||
if True:
|
||||
a = 1
|
||||
else:
|
||||
a = 2
|
||||
#comment<caret>
|
||||
@@ -0,0 +1,7 @@
|
||||
def f():
|
||||
if True:
|
||||
a = 1
|
||||
else:
|
||||
a = 2
|
||||
|
||||
#comment
|
||||
@@ -0,0 +1,6 @@
|
||||
#comment
|
||||
def f():
|
||||
if True:
|
||||
a = 1
|
||||
else:
|
||||
a = 2
|
||||
Reference in New Issue
Block a user