Skip to content

✨ Clicking Project Find result should highlight instance of query text #1505

Open

Description

@austincondiff

Description

When performing a search in the find navigator and a list of results are presented, the user clicks a result and when it opens the corresponding file, the instance of the query text should be highlighted – not to be confused with selected.

Related issues

Additional Context

We have been discussing the need for a highlight API. We currently have the ability to highlight matching brackets (CodeEditApp/CodeEditTextView#67). The bracket highlight bounces and then disappears, but we also need the ability to bounce and not disappear for this to work correctly. Then when the user clicks or navigates with the keyboard into the editor, we should hide/clear the highlight.

For an example of how this works, do a project find in Xcode and click on a result. Take note of how the highlight bounces and remains present until the user clicks into the editor.

Screenshots

image

Activity

  1. deleted a comment from tom-ludwig on Dec 10, 2023
  2. moved this from 🆕 New to 🏃‍♂️ In Progress in CodeEdit Projecton Dec 10, 2023
  3. thecoolwinter commented on Dec 10, 2023

    @thecoolwinter
    Collaborator

    Blocked by CodeEditApp/CodeEditTextView#6

    Not blocked anymore, this has been merged.

  4. austincondiff commented on Apr 19, 2025

    @austincondiff
    CollaboratorAuthor

    See this comment. #1504 (comment)

    The same applies here.

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

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions