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: MoveToStartOfLine and MoveToEndOfLine behaviors #41

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ouuan
Copy link
Member

@ouuan ouuan commented Feb 20, 2023

This fixes cpeditor/cpeditor#774.

@ouuan
Copy link
Member Author

ouuan commented Feb 20, 2023

The CI here is very outdated. Maybe we can do the checks in the main repo instead.

@ouuan ouuan changed the title fix: move to first non-blank char on QKeySequence::MoveToStartOfLine fix: fix MoveToStartOfLine and MoveToEndOfLine behaviors Feb 20, 2023
@ouuan ouuan changed the title fix: fix MoveToStartOfLine and MoveToEndOfLine behaviors fix: MoveToStartOfLine and MoveToEndOfLine behaviors Feb 20, 2023
@ouuan
Copy link
Member Author

ouuan commented Feb 23, 2023

Testing on macOS is needed as MoveToStartOfLine is not Home on macOS. And macOS has a MoveToStartOfBlock key sequence, maybe special handling is preferred.

ouuan added a commit to cpeditor/cpeditor that referenced this pull request Feb 13, 2024
ouuan added a commit to cpeditor/cpeditor that referenced this pull request Feb 13, 2024
…avior (#1310)

* fix(CodeEditor): add ESC to cancel selection

cpeditor/QCodeEditor#35

* fix(CodeEditor): MoveToStartOfLine and MoveToEndOfLine behaviors

Ported from cpeditor/QCodeEditor#41

It fixes #774 and replaces #1149.

* docs: update changelog
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.

Press QKeySequence::MoveToStartOfLine, go to the first non-blank character
2 participants