8000 Fix folding after blank line in class/def by wilywampa · Pull Request #595 · python-mode/python-mode · GitHub
[go: up one dir, main page]

Skip to content

Fix folding after blank line in class/def #595

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 7, 2015

Conversation

wilywampa
Copy link
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
Copy link
Collaborator
klen commented Sep 7, 2015

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
0