Description
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
- Move your cursor to the first line of a journal entry with at least 5 lines.
- Press Alt+Down.
- 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:
Step 2:
Step 3:
Versions:
- RedNotebook version 2.33
- Operating system and version: Linux Mint 21.3 Cinnamon