SublimeOutline
SublimeOutline copied to clipboard
bug: messed links when class definition takes several lines (python)
When class definition takes more than one string, all following links in outline tab are shifted, e. g. in this example method1
in outline tab jumps to func1
, and method2
jumps to nowhere:
class MyTuple(namedtuple("MyTuple", """
field1 field2 field3
"""):
def method1():
pass
def method2():
pass
def func1():
pass
I think the best solution is probably to remove any new lines in class definitions. Will see how it can be done. Thank you for reporting the bug.