Tested builds:
- Notepad3 beta build 3.18.221.902
- Notepad3 beta build 3.18.222.903
- Notepad3 release build 3.18.222.905
There is a bug when pasting into a selection.
Steps to reproduce:
- Enter multiple lines of text into Notepad3, e.g.:
Line 1
Line 2
Line 3
Line 4
- Select line 3 and copy it, e.g. with
Ctrl+C:

- Select line 4 and paste, e.g. with
Ctrl+V (result: normal behaviour - line 4 now has line 3 text):

- Immediately paste again with the caret on line 5, e.g. with
Ctrl+V (result: unexpected behaviour - Line 5 now has line 4 text. The clipboard should still have line 3 text in it):

The bug does not occur when the first paste does not have a previous selection.
Tested builds:
There is a bug when pasting into a selection.
Steps to reproduce:
Ctrl+C:Ctrl+V(result: normal behaviour - line 4 now has line 3 text):Ctrl+V(result: unexpected behaviour - Line 5 now has line 4 text. The clipboard should still have line 3 text in it):The bug does not occur when the first paste does not have a previous selection.