Notepad3
Notepad3 copied to clipboard
Ctrl+Shift+D deleting the penultimate line also merges two lines
Version: Notepad3 (x64) 6.24.309.1 rc3
Open a new window, and type these lines:
aaa
bbb
ccc
ddd
Put the cursor anywhere on the ccc line and press Ctrl+Shift+D.
What I expect:
aaa
bbb
ddd
What I get:
aaa
bbbddd
This happens with both LF and CR+LF line ending settings.
What I get:
aaa bbbddd
I confirm, it's a very old bug. 🤔
This bug started with version: Notepad3 6.23.502.1 beta
- [.502.1]- Multi-replace: correct advance next insertion point in case of SCI_REPLACETARGETMINIMAL.
- [.502.1]- Cut (Ctrl+X) and Delete (Ctrl+Shift+D) last line (EOF -> EOL).
- [.502.1]- Minor bugs in "Reset Notepad3's settings and themes" (SUP).
In addition:
- The bug only appears if the last line has no CRLF. 🤔
- If delete (Ctrl+Shift+D) is applied on the last line with a CRLF, it deletes 2 lines (lines 4 and 5). 🤔
- If line 3 is selected, it delete (Ctrl+Shift+D) 2 lines (lines 3 and 4). 🤔