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

In markdown cells, replacing a string with text that contains the string fails #16292

Closed
JasonWeill opened this issue May 6, 2024 · 1 comment · Fixed by #16293
Closed

In markdown cells, replacing a string with text that contains the string fails #16292

JasonWeill opened this issue May 6, 2024 · 1 comment · Fixed by #16293

Comments

@JasonWeill
Copy link
Contributor

Description

This is a follow up to #16242, itself a follow up to #15572.

In a markdown cell, replacing a string with a replacement string that contains the search string at least once (for example, tom replaced with tommy or tomtom) does not cause the highlight to go to the next cell.

Kapture 2024-05-06 at 09 58 18

Reproduce

  1. Create two markdown cells, each containing the word tom twice.
  2. Search for tom and replace it with a string that contains tom at least once.
  3. Replace the first two instances in the first cell.
  4. The highlight does not move to the second cell.

Expected behavior

The first match in the second cell is highlighted.

@JasonWeill JasonWeill added bug tag:Search and Replace status:Needs Triage Applied to new issues that need triage labels May 6, 2024
@JasonWeill JasonWeill self-assigned this May 6, 2024
@JasonWeill
Copy link
Contributor Author

I do not see this same behavior with 'raw' cells.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant