Bug: column selection replace text does not work with indenting and for two lines

Claus Pedersen

Member³
This is great feature that is available in many other text/code editors, so thank you for this enhancement.

There are some bugs, though:

1) When you mark a column of spaces before some code and press Tab, the columns are indented like below:
Code:
Before:
 abc
 abc
 abc

After:
 abc
   abc
     abc

This is probably not working by design and not like it is working in version 12, were Tab and Shift-Tab worked differently with column marking.

2) When you select e.g. the first column on just two lines. In this case, the text you type is inserted on the first line, but the data in the marked column on line two is just deleted.

3) There is a minor performance issue. When you type "fast" (i.e. more than approx. two characters per sec.) the lines are not updated fast enough, but the editor is doing the update is the background (you can e.g. see the horisontal scroll bar is growing on long code lines) and is eventually finish. So it works OK, but is a little sluggish.

Request:
after the initial column marking, when you begin to type, only the first line is marked. It still works for all marked lines, but it is a bit confusing, that the lines you are actually editing are no longer marked. So please keep the marking visible at all times when operating on column marking (like in version 12).
 
From the beta 6 'release note':
Column editing did not always work correctly when using the tab key
The issues from the first post above all seem to be solved in beta 6. Thanks.

I would still prefer that the column marking stays visible as long as you are working in column marking mode (like when pressing Tab or Shift-Tab, where the marking stays visible). Otherwise it can be difficult to know, when you are in and out of column marking mode.

But thanks for the bug fix.
 
Back
Top