Skip to content

Specify char set for double-click selection instead of word boundaries #19719

@inzeets

Description

@inzeets

Description of the new feature

Is there any way to switch wt to double-click-select chunk of text consisting of predefined character set, in a conventional way, same as vim (iskeyword) or putty (character classes) do for example? I know the character set I'm working with, and what should make my double-click selection, so I can enumerate it (ascii minus some chars). Otherwise I need to put almost all Unicode table to avoid sporadic UI symbols (like border elements, or file-type icons, etc) being selected as a part of the filename, keyword, variable, url, etc. Sporadically getting these symbols copied is distracting and getting annoying over time. Is this just because I don't understand what is the logic behind taking "word delimiters" approach and not providing all Unicode chars that's not a word as a default value, so I have to maintain my own list of known delimiters I hit by the time? Please explain.

Proposed technical implementation details

Use "Double-click selection delimiter chars" if it's not empty, and "Double-click selection character set" otherwise.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Needs-Tag-FixDoesn't match tag requirementsNeeds-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions