Skip to content

Fix folding after blank line in class/def - #595

Merged
klen merged 1 commit into
python-mode:developfrom
wilywampa:class_folding
Sep 7, 2015
Merged

klen merged 1 commit into
python-mode:developfrom
wilywampa:class_folding

Conversation

@wilywampa

Copy link
Copy Markdown
Contributor

This change caused a regression in folding: #534

If there is a blank line between a class/def statement, a fold won't be created. For example, the following folds into one line (class Foo(object):) before the change but not after:

class Foo(object):

    """Description."""

    def __init__(self):
        pass

klen added a commit that referenced this pull request Sep 7, 2015
Fix folding after blank line in class/def
@klen
klen merged commit 73d54e6 into python-mode:develop Sep 7, 2015
@klen

klen commented Sep 7, 2015

Copy link
Copy Markdown
Collaborator

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants