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

Moving lines up and down via keyboard #770

Open
jj-du-plessis opened this issue Sep 10, 2024 · 1 comment
Open

Moving lines up and down via keyboard #770

jj-du-plessis opened this issue Sep 10, 2024 · 1 comment
Labels

Comments

@jj-du-plessis
Copy link

jj-du-plessis commented Sep 10, 2024

Describe the bug
When using standard text editors (e.g. gedit) on my system, the line in which my cursor is located can be moved up/down by pressing Alt+Up/Down. By doing so, the entire line is moved up/down and the moved line is selected so that, while keeping the Alt key held in, the line can be moved further up/down by simply pressing the up/down key several times. In the Rednotebook, Alt+Up/Down also moves the current line up/down, but it selects the moved line and the subsequent one, resulting in a subsequent press of Alt+Up/Down moving two lines up/down instead of only one.

To Reproduce

  1. Move your cursor to the first line of a journal entry with at least 5 lines.
  2. Press Alt+Down.
  3. Press Alt+Down again.

Expected behavior
If the starting document had lines labelled 1,2,3,4,5 then after moving the first line down twice, the expected result should look like 2,3,1,4,5. In Rednotebook, however, it looks like 2,4,1,3,5

Screenshots
Step 1:
image
Step 2:
image
Step 3:
image

Versions:

  • RedNotebook version 2.33
  • Operating system and version: Linux Mint 21.3 Cinnamon
@alpha-ulrich
Copy link
Contributor

This might be platform specific, not reproducible on Ubuntu 22.04

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants