Alt-select with lineWrapping enabled

I’m not sure if it’s a bug or expected behavior, seeing alt-select doesn’t always select text in a rectangle.

This example shows the wrapped line is skipped:

This example shows the selection is the same as normal text selecting:

It seems happen only when EditorView.lineWrapping is enabled, any ideas? Thanks!

That is by design. A rectangular selection covers a given set of columns in multiple lines. I can think of very few situations where the line wrap points are significant enough that you want to select based on where they land.

Thanks for confirming!