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 #291402: added the ability to delete \n using the delete key #5873

Closed
wants to merge 0 commits into from

Conversation

SKefalidis
Copy link
Contributor

@SKefalidis SKefalidis commented Mar 26, 2020

See: #5875
This one was closed accidentally.

Resolves: https://musescore.org/en/node/291402

Used the implementation of backspace to implement the expected functionality. The cursor gets moved to the beginning of the next line and the same function as backspace is called.

  • I signed CLA
  • I made sure the code in the PR follows the coding rules
  • I made sure the code compiles on my machine
  • I made sure there are no unnecessary changes in the code
  • I made sure the title of the PR reflects the core meaning of the issue you are solving
  • I made sure the commit message(s) contain a description and answer the question "Why do those changes fix that particular issue?" or "Why are those changes really necessary as improvements?"
  • I made sure the commit message title starts with "fix #424242:" if there is a related issue
  • [n\a] I created the test (mtest, vtest, script test) to verify the changes I made

@@ -245,7 +245,7 @@ bool TextBase::edit(EditData& ed)
}

if (!wasHex) {
//printf("======%x\n", s.isEmpty() ? -1 : s[0].unicode());
//printf("======%x\n", s.isEmpty() ? -1 : s[0].unicode());
Copy link
Contributor

@Jojo-Schmitz Jojo-Schmitz Mar 26, 2020

Choose a reason for hiding this comment

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

I'd rather not indent here. That way this debugging artifact (literally) sticks out better

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Jojo-Schmitz as you wish :-)

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