mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-14 18:05:27 +07:00
Otherwise, we end up duplicating it. This logic shouldn't apply if the fragment being pasted will be inserted on the previous line which should actually happen only if there was no selection in the editor, just the caret preceding a line -- I additionally enforced this requirement. Added tests covering the original issue and some of its duplicates (PY-29506).
4 lines
46 B
Python
4 lines
46 B
Python
if True:
|
|
if True:
|
|
pass
|
|
foo = 2 |