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

Ctrl+Shift+D deleting the penultimate line also merges two lines #5150

Open
Rangi42 opened this issue Mar 10, 2024 · 1 comment
Open

Ctrl+Shift+D deleting the penultimate line also merges two lines #5150

Rangi42 opened this issue Mar 10, 2024 · 1 comment
Labels

Comments

@Rangi42
Copy link

Rangi42 commented Mar 10, 2024

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.

@hpwamr
Copy link
Collaborator

hpwamr commented Mar 10, 2024

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. 🤔

2024-03-10_225107

  • If delete (Ctrl+Shift+D) is applied on the last line with a CRLF, it deletes 2 lines (lines 4 and 5). 🤔

2024-03-10_225624

  • If line 3 is selected, it delete (Ctrl+Shift+D) 2 lines (lines 3 and 4). 🤔

2024-03-11_065806

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