mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +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.
15 lines
324 B
Python
15 lines
324 B
Python
class ThisIsATest():
|
|
def __init__(self):
|
|
self.test = 1
|
|
|
|
def another_one(self):
|
|
print "Hello, world!"
|
|
|
|
def another_two(self):
|
|
print "Hello, world!"
|
|
|
|
def another_three(self):
|
|
print "Hello, world!"
|
|
|
|
<selection>def another_four(self):
|
|
print "Hello, world!"</selection> |