mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-07 13:35:58 +07:00
I also changed the implementation so that only the very first tokens of declarations are considered as anchors for method separators. Otherwise, they start to flicker as their corresponding class and function elements are often not re-evaluated by LineMarkerProviders on changes in a document. GitOrigin-RevId: 90488c4bd1c662634c4b6681ce78b1b64c503782
28 lines
427 B
Python
28 lines
427 B
Python
def top_level1():
|
|
def nested1():
|
|
pass
|
|
|
|
def nested2():
|
|
pass
|
|
|
|
|
|
class MyClass:
|
|
def method1(self):
|
|
def nested_in_method1():
|
|
pass
|
|
|
|
def nested_in_method2():
|
|
pass
|
|
|
|
def method2(self):
|
|
pass
|
|
|
|
|
|
def top_level2():
|
|
class MyNestedClass:
|
|
def method_of_nested_class1(self):
|
|
pass
|
|
|
|
def method_of_nested_class2(self):
|
|
pass
|