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 #268197: Up/down arrow keys in first/last line of text don't go to beginning/end #3382

Merged
merged 1 commit into from
Jan 31, 2018

Conversation

IsaacWeiss
Copy link
Contributor

@IsaacWeiss IsaacWeiss commented Jan 7, 2018

When the cursor is in the last line of a document or text box, standard behavior (at least on macOS) is that pressing the down arrow key moves the cursor to the end of the line. Similarly, when the cursor is in the first line, the up arrow key moves the cursor to the beginning of the line. This does not occur in MuseScore 2.1 or current development versions.

Multi-line text is not working at all in master currently, but as far as I can tell this fixes the editing behavior to match most macOS apps. However, it does not seem to affect text editing in e.g. Format / General Style / Header, Footer. Feedback appreciated.

@IsaacWeiss
Copy link
Contributor Author

PR updated to make this change only on Mac.

@IsaacWeiss
Copy link
Contributor Author

Is there any remaining question about this?

@lasconic lasconic merged commit a5b92dd into musescore:master Jan 31, 2018
lasconic added a commit that referenced this pull request Jan 31, 2018
@IsaacWeiss IsaacWeiss deleted the up-down-arrows-in-text branch February 8, 2018 18:17
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