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

Select full floating point number by double-clicking #22725

Closed
wants to merge 2 commits into from

Conversation

athompson673
Copy link
Contributor

Description of Changes

  • Wrote at least one-line docstrings (for any new functions)
  • Added unit test(s) covering the changes (if testable)
  • Included a screenshot or animation (if affecting the UI, see Licecap)

Issue(s) Resolved

Fixes #22207

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: athompson673

Modify double click behavior to select entire numbers on double click. Default functionality does not select floating point numbers. Use the tokenize stdlib to parse tokens and check if cursor is over a NUMBER token to select it.
@athompson673 athompson673 changed the title 6.x Select full floating point number by double-clicking Oct 24, 2024
@ccordoba12
Copy link
Member

Thanks for opening this pull request @athompson673! Unfortunately, we changed our development workflow and now all pull requests need to be done against our master branch (see our contributing guide). So, you need to create a new pull request but using master instead of 6.x.

Let me know if that's ok for you. If not, I can cherry-pick your commit and apply it to master.

@athompson673
Copy link
Contributor Author

@ccordoba12 I'm sorry, I'll re-submit

@ccordoba12
Copy link
Member

Thanks!

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