Selection in 'Block' mode

SyntaxEditor for WPF Forum

Posted 6 years ago by Simon Sprott
Version: 17.2.0661
Avatar

When you select an area of text in block mode, you can only push the selection width to the end of the last line of the selection.

(if the upper case letters are the selection)

So you can select this

abcde
abC
abCD
abCDE
abcde

But if you want the same thing selecting then the selection stops at the end of the abCD line, meaning its not possible to select the e from the line above.

abcde
abC
abCDe
abCD
abcde

In visual studio the block selection allows the selection to expand beyond the chars on the line making this kind of thing possible.

Is there some setting to achive this or is that just the behaviour?

 

 

Another minor point, the behaviour for inserting tabs into block selections is a little different from visual studio,

In VS if you have a selection like this and you press tab 

abcde
abC
abCD
abCDE
abcde

you get

abcde
ab    C
ab    CD
ab    CDE
abcde

In actipro you override the selected chars with a tab.

It can be worked around in actipro using a 0 width selection and pressing tab, but it seems a little less intuative.

Comments (1)

Answer - Posted 6 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Simon,

Unfortunately we don't yet support virtual space at the end of lines.  That's why the selection stops in that scenario.  It's something we have on the TODO list and I'll log your request for it.

As for the inserting tabs into block selections, we'll make some improvements for that for the next build.


Actipro Software Support

The latest build of this product (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.