Description of the Issue
This is a v8.6 regression.
I had some text with varying line lengths and wanted to add a second column to the right at column 37. On lines 6 and 7 below I manually added the tabs. I saw that lines 1 to 5 were shorter and so rather than manually adding tabs needing to pay attention I selected the area and then did a search/replace to replace $ with 9 tabs \t\t\t\t\t\t\t\t\t.
My normal practice at this point is I moved the typing cursor to the end of line 7 and while holding Shift+Alt I did up-arrow to line 1 and then held down the right arrow key until things stopped jumping around meaning I was past the end of the longest line. I then pressed Del but was surprised that line 7 was appended on line 6 and line 8 was appended to line 7.
With Notepad v8.5.8 this worked as I expected and it deleted the excess tabs without also deleting any end of line marks. To make the end of line visible in this post I appended a tilde ~ to each line. They were not part of the test and so should be removed if you want to copy the test data below into Notepad to reproduce the issue.
The 9_9_9_... text was already there as the second column of text for line 8. I was about to add the second column of text for lines 1-7 which lead me to add the tabs and then try to trim the excess so that all lines ended at column 37 meaning I could type stuff and then up-arrow as I worked my way up the table.
Original data
1_1_1_ ~
2_2_2 ~
3_3_3_3_3 ~
4_4_4_4_4_4_4_4_4_4_4_ ~
5_5_5_5_5_ ~
6_6_6_6_6_6_6_6_6_6_6_6_6_6_6_ ~
7_7_7_7_7_7_7_7_7_7_7_7_7_7_7 ~
8_8_8_8_8_8 9_9_9_9_9_9_9_9_9_~
Results after the Del using Notepad++ v8.6
1_1_1_ ~
2_2_2 ~
3_3_3_3_3 ~
4_4_4_4_4_4_4_4_4_4_4_ ~
5_5_5_5_5_ ~
6_6_6_6_6_6_6_6_6_6_6_6_6_6_6_ 7_7_7_7_7_7_7_7_7_7_7_7_7_7_7 8_8_8_8_8_8 9_9_9_9_9_9_9_9_9_~
Results after the Del using Notepad++ v8.5.8 - this is the result I expected.
1_1_1_ ~
2_2_2 ~
3_3_3_3_3 ~
4_4_4_4_4_4_4_4_4_4_4_ ~
5_5_5_5_5_ ~
6_6_6_6_6_6_6_6_6_6_6_6_6_6_6_ ~
7_7_7_7_7_7_7_7_7_7_7_7_7_7_7 ~
8_8_8_8_8_8 9_9_9_9_9_9_9_9_9_~
Description of the Issue
This is a v8.6 regression.
I had some text with varying line lengths and wanted to add a second column to the right at column 37. On lines 6 and 7 below I manually added the tabs. I saw that lines 1 to 5 were shorter and so rather than manually adding tabs needing to pay attention I selected the area and then did a search/replace to replace
$with 9 tabs\t\t\t\t\t\t\t\t\t.My normal practice at this point is I moved the typing cursor to the end of line 7 and while holding Shift+Alt I did up-arrow to line 1 and then held down the right arrow key until things stopped jumping around meaning I was past the end of the longest line. I then pressed Del but was surprised that line 7 was appended on line 6 and line 8 was appended to line 7.
With Notepad v8.5.8 this worked as I expected and it deleted the excess tabs without also deleting any end of line marks. To make the end of line visible in this post I appended a tilde
~to each line. They were not part of the test and so should be removed if you want to copy the test data below into Notepad to reproduce the issue.The 9_9_9_... text was already there as the second column of text for line 8. I was about to add the second column of text for lines 1-7 which lead me to add the tabs and then try to trim the excess so that all lines ended at column 37 meaning I could type stuff and then up-arrow as I worked my way up the table.
Original data
Results after the
Delusing Notepad++ v8.6Results after the
Delusing Notepad++ v8.5.8 - this is the result I expected.