mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +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
24 lines
335 B
Python
24 lines
335 B
Python
class TopLevel1:
|
|
class NestedInClass1:
|
|
pass
|
|
|
|
class NestedInClass2:
|
|
pass
|
|
|
|
|
|
class TopLevel2:
|
|
def method(self):
|
|
class NestedInMethod1:
|
|
pass
|
|
|
|
class NestedInMethod2:
|
|
pass
|
|
|
|
|
|
class func():
|
|
class NestedInFunction1:
|
|
pass
|
|
|
|
class NestedInFunction2:
|
|
pass
|