Skip to content

On Find and Replace, using <Ctrl>-Z doesn't re-search #7504

@kuraga

Description

@kuraga

Description

On Find and Replace, using <Ctrl>-Z doesn't re-search.

Reproduce

  1. Create a Jupyter notebook.
  2. Type in the first cell: 123.
  3. Open the Find and Replace dialog.
  4. Type: 123 at the Find input.
  5. The search indicator: - / 1.

On manual editing, the search indicator is updated:

  1. Erase 3.
  2. Type 3 at the same place.
  3. 123 is highlighted; the search indicator shows - / 1.

But on undoing, it isn't:

  1. Erase 3.
  2. Press <Ctrl>-Z.
  3. Expected: 123 is highlighted; the search indicator shows - / 1.
  4. Actual: 123 is highlighted; the search indicator shows - / -.

Unfocusing the cell helps:

  1. Unfocus the cell in some way.
  2. Actual: 123 is highlighted; the search indicator shows - / 1.

Expected behavior

On Find and Replace, using <Ctrl>-Z re-searchs.

Context

  • Operating System and version: Calculate Linux (Gentoo-based)
  • Browser and version: Chromium 129.0.6668.100, 64 bit
  • Jupyter Notebook version: 7.2.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions