CodeEditApp / CodeEditApp/CodeEdit

✨ Clicking Project Find result should highlight instance of query text

オープン
#1,505 コメント 2 件 リアクション 0 件 担当者 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 を短くまとめたダイジェスト。