Files
openide/python/testData/surround/CustomFoldingRegionLastMethod_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

17 lines
361 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!"
# <editor-fold desc="Description">
def another_four(self):
print "Hello, world!"
# </editor-fold>