SlickEdit Community

Archived Beta Discussions => SlickEdit 201x Beta Discussions => SlickEdit 2015 v20 Beta Discussion => Topic started by: Mike M on October 21, 2015, 07:50:56 PM

Title: Selection changes after fill-selection.
Post by: Mike M on October 21, 2015, 07:50:56 PM
Create a new document:
Enter three lines of 10 "x" characters
Goto line 1 col 2
execute: select-char
Goto line 3 col 10

The selection now includes the last 9 x's on the first line, all x's on the second line, and the first 9 x's on the last line.

execute: fill-selection
Press 0

Result: The selection changes. The first character of the first row is now included. If you fill-selection again, The first character will be overwritten.

Expected result: The selection should not change. You should be able to fill-selection multiple times without the beginning or ending of the selection moving.

Do the same thing with four lines of 10 "x" characters. When you select-char all x's except the first and last one, the beginning of the selection
now starts after the last x on the first line.

I think this is a regression problem in v19.
It also happens in v20 RC1.
I think it is OK in v18.
Title: Re: Selection changes after fill-selection.
Post by: Clark on October 21, 2015, 10:32:05 PM
Reproduced. Does appear to be an old problem. We will look into this