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

Detect CTRL+A key combination to select all text in EditBox #2251

Merged
merged 2 commits into from
Nov 26, 2024

Conversation

rh101
Copy link
Contributor

@rh101 rh101 commented Nov 26, 2024

Describe your changes

This is a simpler solution to detecting CTRL+A in order to select all text in the EditBox.

This does not have the side effects present in #2238 and #2246.

Issue ticket number and link

#2236

Checklist before requesting a review

For each PR

  • Add Copyright if it missed:
    - "Copyright (c) 2019-present Axmol Engine contributors (see AUTHORS.md)."

  • I have performed a self-review of my code.

    Optional:

    • I have checked readme and add important infos to this PR.
    • I have added/adapted some tests too.

For core/new feature PR

  • I have checked readme and add important infos to this PR.
  • I have added thorough tests.

@halx99 halx99 merged commit 1e8fbb9 into axmolengine:dev Nov 26, 2024
15 checks passed
@halx99 halx99 added this to the 2.3.0 milestone Nov 26, 2024
@halx99 halx99 added the enhancement New feature or request label Nov 26, 2024
@paulocoutinhox
Copy link
Contributor

Hi. Nice feature. It works for macOS? Command + A?

@rh101 rh101 deleted the editbox-patch1 branch November 26, 2024 21:20
@rh101
Copy link
Contributor Author

rh101 commented Nov 26, 2024

Hi. Nice feature. It works for macOS? Command + A?

Does the same issue exist on MacOS? EditBox implementations are specific to the target platform, so the code in this PR has nothing to do with MacOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants