mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
* Searching of first parental PSI elements before/after new line correctly stops at the start/end of file. As result it's possible now to surround element at the first/last line in the file. Also corresponding traversal does not try to climb above PSI file. * Even single character can be selected in first place. * In languages that uses indentation to delimit blocks (like Python) several consequent sibling statements can be surrounded even if the last of them is at the end of its parent.
9 lines
126 B
Python
9 lines
126 B
Python
class C:
|
|
def m1(self):
|
|
pass
|
|
|
|
<selection>def m2(self):
|
|
pass
|
|
|
|
def m3(self):
|
|
pass</selection> |