Skip to content

Surrounding pairs v2 #825

Closed as not planned
Closed as not planned
@pokey

Description

@pokey

Once we have #484, we can greatly simplify our surrounding pairs code. In the process, we'd like to do the following:

  • Only deal with expanding from a single position, so we can remove the backwards pass to extend past selection start
  • Refactor text-based item scope stage to leverage surrounding pairs code. We can probably use a greatly simplified version of the algorithm suggested in Support generic comma-separated lists #357, because that one tries to handle ranges, not just positions
  • Support "every" for surrounding pairs

Metadata

Metadata

Assignees

No one assigned

    Labels

    code qualityImprovements to code qualityenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions