Skip to content

FR: support for multi-selection with wrapped lines #4168

@mbertucci47

Description

@mbertucci47

Describe the feature and the current behavior/state

This is an add-on to #3169 that would improve TXS's support for multi-selection. Currently, it is basically incompatible with wrapped lines. The result of dragging the cursor from one wrapped line to the next is that it selects all the text in between, clearly removing the functionality of the multi-selection to begin with.

Here's some example text:

Example definition text. Example definition text. Example definition text. Example definition text. Example definition text. Example definition text. Example definition text. Example definition text.
Example definition text. Example definition text. Example definition text. Example definition text. Example definition text. Example definition text. Example definition text. Example definition text.

Here is the result in TXS after placing the cursor before the first instance of the word definition and dragging it to the first instance of definition on the next true line.

Image

One editor where this works as expected is Notepad++, where the result of the above operation results in two cursors blinking before definition on both lines.

Who will benefit with this feature?

Users who are coming from editors with better support for multi-selection.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions