Skip to content

Search in editor does not make cursor jump to found text on paste #1933

@paponius

Description

@paponius

Description

  1. Open editor.
  2. Put some text in clipboard that is present in edited text.
  3. Ctrl-F to open Search
  4. Paste Ctrl-V

Found text is selected, number of occurrences is shown, but current line is not changed to target.

This only happens when the search box is empty before pressing Ctrl-F and was closed.
Adding/removing a letter by keyboard, or pressing enter will make cursor jump to target line.

P.S. When the search box is closed, or text is removed (either one of the "x"es), current line is changed back to where the found text was, if the cursor was moved meantime elsewhere it can be annoying. Is this by design? It was like this before v2 upgrade.

System Information

  • Browser: Firefox 135
  • Stylus Version: 2.3.12

-->

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