Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
selfish opened this issue Sep 16, 2024 · 0 comments
Open
1 task done
Labels
admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue

Comments

@selfish
Copy link

selfish commented Sep 16, 2024

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

@selfish selfish added admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue labels Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin read Pending admin review enhancement [core label] triage Maintainer needs to classify the issue
Projects
None yet
Development

No branches or pull requests

1 participant