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 #152766: Add keyboard shortcuts for up bow and down bow symbols #2928

Merged

Conversation

divya-urs
Copy link
Contributor

No description provided.

@@ -982,6 +982,14 @@
<key>toggle-insert-mode</key>
<seq>Ctrl+I</seq>
</SC>
<SC>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given the different keyboard layouts—as discussed at https://musescore.org/en/node/152766—I know it's not as "sexy" to add a feature that the user has to enable, but it seems smartest to leave it to the users to define their own shortcuts. Thank you for your idea and coding!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! So should I just remove the Shift+U and Shift+Z ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All eight lines in shortcuts.xml. They will be automatically created when the user assigns a shortcut.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After adding a new commit to this branch that restores the previous shortcuts.xml:

git rebase -i HEAD~2

In the vi editor, change the second line to start with f instead of pick, write and quit.

Then git push -f to update this pull request.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I'll do that.

@divya-urs divya-urs force-pushed the add_keyboard_shortcuts_bowing_symbols branch from 68b4d16 to 1b40bdc Compare January 6, 2017 07:19
@@ -3162,6 +3162,8 @@ void Score::cmd(const QAction* a)
{ "add-marcato", [this]{ addArticulation(SymId::articMarcatoAbove); }},
{ "add-sforzato", [this]{ addArticulation(SymId::articAccentAbove); }},
{ "add-trill", [this]{ addArticulation(SymId::ornamentTrill); }},
{ "add-stringsUpBow", [this]{ addArticulation(SymId::stringsUpBow); }},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should use camelCase here since others don't use it. Except this, it's good, I'll merge it and change it

@lasconic lasconic merged commit 6ffaf4e into musescore:master Feb 15, 2017
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.

None yet

3 participants