Skip to content

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

Open
@austincondiff

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

Metadata

Metadata

Assignees

Type

No type

Projects

Status

🏃‍♂️ In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions