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

'Find' does not find all occurrences #3676

Closed
jdalbey opened this issue Feb 28, 2025 · 2 comments
Closed

'Find' does not find all occurrences #3676

jdalbey opened this issue Feb 28, 2025 · 2 comments

Comments

@jdalbey
Copy link

jdalbey commented Feb 28, 2025

Steps to reproduce:

  1. Create a text file with these two lines:
    now is the time for all good men to jump over the lazy dog.
    when in the course of human events
  2. Place the cursor at the start of the file
  3. From the Search menu choose "Find".
  4. In the search field enter "the" (without quotes)
  5. Use the 'Find next occurrence" button to cycle through the matching items.
    Expected: The search target appears twice in the first line, so we expect both occurrences to be found.
    Actual: Only the first occurrence of "the" is found in the first line.

For comparison, the Xed editor works as expected.

@matthias314
Copy link
Contributor

Is this for a different editor? I'm not aware of a "search menu" in micro, nor of a "find next occurrence" button. In the example, searching with Ctrl-F and then with Ctrl-N to the next occurrences works without problems for me.

@jdalbey
Copy link
Author

jdalbey commented Feb 28, 2025

Aha, I see what happened. I opened Micro in Gnome Terminal. I was using the Search feature in the Gnome Terminal menu. The issue is not with Micro. I apologize for wasting your time.

@jdalbey jdalbey closed this as completed Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants