Skip to content

Adding new line with searched text causes duplication of every other occurence below in seach view #2816

@Gartosz

Description

@Gartosz

Describe the problem

Whenever you make a new line under the occurence of searched value every element that is after this one (in search view) gets doubled and inserted at the end of the list.

Image Image Image Image

To reproduce

  1. Search for something that would result in multiple elements
  2. Put cursor at the end of the line
  3. Hit enter

Expected behavior

Search list should stay the same after modification.

Arduino IDE version

2.3.6

Operating system

Windows

Operating system version

11 Pro 23H2

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions