Skip to content

Merged Selections When Searching for Consecutive Items [Option to disable merge?] #17910

@selfish

Description

@selfish

Check for existing issues

  • Completed

Describe the feature

Issue: Merged Selections When Searching for Consecutive Items

Steps to Reproduce:

  1. Open a document with the following content:
CATEGORY1\nitem1\nitem2\n\n\nCATEGORY2\nitem1
  1. Press Cmd+F and search for \n.
  2. Click "Select All" for all matches.
  3. Press Enter/Return.

Actual Result:

The consecutive \n\n\n sequence is treated as a single selection, so the result is:

CATEGORY1
item1
item2
CATEGORY2
item1

Expected Result:

Each \n should be treated as a separate match. The expected output after the described flow should be:

CATEGORY1
item1
item2


CATEGORY2
item1

When replacing matches, I would expect individual occurrences, even when consecutive, to be selected as separate instances. This would prevent unintended merging when performing replacements.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

Metadata

Metadata

Assignees

Labels

area:editorFeedback for code editing, formatting, editor iterations, etcfeatureDEPRECATED label: use issue type 'Feature' instead

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions