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: Restore cursor position after inserting auto-formatted text (Editor) #20167

Merged
merged 4 commits into from
Dec 8, 2022

Conversation

ccordoba12
Copy link
Member

@ccordoba12 ccordoba12 commented Dec 8, 2022

Description of Changes

  • The cursor was placed at the end of the file after auto-formatting took place, even when formatting selections, which was really annoying.
  • Fix header comments in CodeEditor so they appear in Spyder's Outline.
  • Add docstrings for auto-formatting methods in CodeEditor.
  • Improve code style a bit here and there.

Issue(s) Resolved

Fixes #19958.

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:

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

1 participant