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

PR: Fix restoring current cursor line after autoformat takes place (Editor) #20317

Merged
merged 1 commit into from
Jan 9, 2023

Conversation

ccordoba12
Copy link
Member

Description of Changes

  • The previous solution was giving a segfault when auto-formatting on save is enabled.
  • Add test to check this functionality and auto-formatting on save.

Issue(s) Resolved

Fixes #20282.

Affirmation

By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct: @ccordoba12

- The previous solution was giving a segfault when auto-formatting on
save is enabled.
- Add test to check this functionality and auto-formatting on save.
@ccordoba12 ccordoba12 added this to the v5.4.2 milestone Jan 6, 2023
@ccordoba12 ccordoba12 self-assigned this Jan 6, 2023
Copy link
Member

@dalthviz dalthviz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ccordoba12 ! Checked locally on Windows and seems like is working as expected, this LGTM 👍

@dalthviz dalthviz merged commit 2bb3542 into spyder-ide:5.x Jan 9, 2023
dalthviz added a commit that referenced this pull request Jan 9, 2023
@ccordoba12 ccordoba12 deleted the issue-20282 branch January 10, 2023 01:07
@ccordoba12
Copy link
Member Author

Thanks @dalthviz! Just a quick note to say that our tests are broken now due to a new release of ipykernel, but they should be fixed once I merge PR #20335.

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

Successfully merging this pull request may close these issues.

None yet

2 participants