Files
openide/python/testData/surround/CustomFoldingRegionSeveralMethods_after.py
Mikhail Golubev baa7943629 PY-14358 Explicitly insert indent before the closing custom folding comment
that is the same as for the opening comment. Otherwise, it's impossible
to detect the necessary indentation in languages like Python, where the
block containing a comment is itself determined by this very indentation.

If it's wrong for some reason, the subsequent call of
CodeStyleManager.adjustLineIndent() should handle that in all other
languages.
2017-10-09 12:56:15 +03:00

11 lines
163 B
Python

class C:
def m1(self):
pass
# <editor-fold desc="Description">
def m2(self):
pass
def m3(self):
pass
# </editor-fold>