[quote=“corelon”]I have noted a problem in ST3 in python mode (which I actually just tested in ST2 and there is the same problem):
In the following test code:
class Testing:
def __init__(self):
self._name = 'Test'
def getname(self):
return self._name
def setname(self,value):
self._name = value
def delname(self):
del self._name
name = property(getname,setname,delname)
# This is just a comment
When I fold (which I am only allowed to do on the class level and not on the method level (unless I manually fold the code) it looks like:
class Testing: ...t
i.e. keeping the last “t” of the comment outside the fold.
I know it is a minor bug, but since I just noticed that it has been there for 2 versions of the editor, I think it should be fixed at some point (and maybe add method folding in Python as well?)
Regards,
Nikos[/quote]
As far as i can see that’s not a bug. From indentation the comment is belonging to the class. I see the same behaviour with Scite and Komodo 7 + 8