Skip to content
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

fix trailing whitespace from reseting indentation #567

Merged
merged 1 commit into from Jul 11, 2011

Conversation

ivanov
Copy link
Member

@ivanov ivanov commented Jul 11, 2011

whitespace after ':' caused indentation to be reset. This changes fixes that problem and adds a test for it.

if 1:
print 1
print 2

minrk added a commit that referenced this pull request Jul 11, 2011
ignore trailing whitespace after colon for autoindent
@minrk minrk merged commit 002a480 into ipython:master Jul 11, 2011
@minrk
Copy link
Member

minrk commented Jul 11, 2011

merged, thanks!

mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
…pace

ignore trailing whitespace after colon for autoindent
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.

None yet

2 participants