Author Topic: Selection changes after fill-selection.  (Read 1818 times)

Mike M

  • Community Member
  • Posts: 15
  • Hero Points: 2
Selection changes after fill-selection.
« 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.


  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5957
  • Hero Points: 467
Re: Selection changes after fill-selection.
« Reply #1 on: October 21, 2015, 10:32:05 pm »
Reproduced. Does appear to be an old problem. We will look into this