CodeEditApp / CodeEditApp/CodeEdit

✨ Clicking Project Find result should highlight instance of query text

未關閉
#1,505 2 則留言 0 個 reaction 已指派 1 人 已被 @tom-ludwig 認領 在 GitHub 檢視
enhancement find navigator source editor
主要語言
Swift
星號
23k
分支
1.2k
PR 合併指標
30 天內沒有已合併 PR

描述

### 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

- #1504

### Additional Context

We have been discussing the need for a highlight API. We currently have the ability to highlight matching brackets (https://github.com/CodeEditApp/CodeEditTextView/issues/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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。