Notepad3: Pasting long line over short line gives different highlight depending on selection direction

Created on 11 Apr 2018  路  3Comments  路  Source: rizonesoft/Notepad3

Notepad3 Xperimental build 3.18.411.970.

__Problem 1: Pasting Long Line Over Short Line__

Consider the following:

image

I highlight the long text on line 2 (either direction) and copy:

image

I then highlight the short text on line 3 (left to right) and paste:

image

...Line 3 has no highlight and the caret is at the end of the line.

I undo the previous step, repeat the copy step, then highlight the short text on line 3 (right to left) and paste:

image

...Line 3 has a highlight equal in length to the original short text length.

I don't quite remember what should be the expected behaviour, but I do believe it should be the same regardless of the highlight direction.

__Problem 2: Pasting Short Line Over Long Line__

Using the same example:

image

I highlight the short text on line 1 (either direction) and copy:

image

I then highlight the long text on line 2 (left to right) and paste:

image

...Line 2 has no highlight and the caret is at the end of the line.

I undo the previous step, repeat the copy step, then highlight the long text on line 2 (right to left) and paste:

image

...Line 2 has a highlight that spans 5 lines. Very odd.

馃悶 bug

Most helpful comment

Please test experimental beta version "_Xperimental_3.18.411.971".

All 3 comments

Please test experimental beta version "_Xperimental_3.18.411.971".

Xperimental build 971 and 972: fixed. Thanks.

Issue resolved, ready to close.

Was this page helpful?
0 / 5 - 0 ratings