musescore / musescore/MuseScore

Towards a more complete Text Navigation facility

Open
#16,997 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

community feature request
Dominant language
C++
Stars
15.1k
Forks
3.3k
Avg merge
2d 2h
Merged PRs (30d)
91

Description

Your idea

I was prompted to submit this feature request because I noticed that, when creating text, OPT-DEL (in MacOS) does not delete the previous word. Instead, the keystroke CMD-DEL is supplied. However, this is non-standard amongst today's apps. I refer you to the following example apps:
Notion, Text Edit, MS Word (also CMD-DEL), Google, iCal, Apple Notes (also CMD-DEL), DayOne, Kindle, Spotify, Finder, 1Password, Preview, Netflix.

I propose that this be changed to

  • OPT-DEL: Delete the previous word

  • CMD-DEL : Delete to the start of the line

and I further propose a more general scheme, as follows.

  • OPT-DEL : Delete the previous word
  • 
CMD-DEL : Delete to the start of the line

  • OPT-left-arrow : Move the cursor to the start of the previous word
  • 
OPT-right-arrow : Move the cursor to the start of the next word
  • 
CMD-left-arrow : Move the cursor to the start of the line

  • CMD-right-arrow : Move the cursor to the end of the line
    Note: For a specification for Windows, modify the above appropriately.

Problem to be solved

I believe that this modification will give the product a more robust and professional feel.

Prior art

No response

Additional context

Note: I tested the above on 'Expression text', 'Stave text, and 'Title text'.

Note: In the MU3 manual, CMD-DEL is not mentioned under Text / Keyboard shortcuts / Text edit mode.
 —Whatever decision is made, the MU4 manual should include the above.

Note: I see that UNDO does not work properly with text operations in general.

- The focus changes from 'edit text' to 'object selected'.


- Multiple history actions are clumped together.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the shortcut behavior in Expression text, Stave text, and Title text, then locate the text-edit keyboard handling and the MU4 manual section for Text / Keyboard shortcuts / Text edit mode. Confirm the desired MacOS behavior, determine the appropriate Windows mapping, and separately assess the reported undo problems before defining what is included in the change.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, macos
Domain
desktop, documentation
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.