You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> [!IMPORTANT]
> ~~We need to merge
CodeEditApp/CodeEditTextView#78 before merging
this PR.~~
### Description
This PR introduces the initial implementation of the “Find in Editor”
feature for the source editor. Users can now search for text within the
currently open file using ⌘ F. All matching results are visually
emphasized, and users can navigate between matches using next/previous
controls.
What’s Included
- Text search across the current document
- Match highlighting with emphasis on the currently selected match
- Keyboard shortcut support: ⌘ F to activate the find bar
- Looping navigation with HUD notifications:
- Reaching the end → loops to first result (arrow.triangle.capsulepath)
- Reaching the beginning → loops to last result (flipped
arrow.triangle.capsulepath)
- No more matches → arrow.down.to.line HUD icon displayed
### Related Issues
- CodeEditApp/CodeEditTextView#1
- closesCodeEditApp/CodeEditTextView#3
- CodeEditApp/CodeEditTextView#78
* #ISSUE_NUMBER
### Checklist
<!--- Add things that are not yet implemented above -->
- [x] I read and understood the [contributing
guide](https://github.com/CodeEditApp/CodeEdit/blob/main/CONTRIBUTING.md)
as well as the [code of
conduct](https://github.com/CodeEditApp/CodeEdit/blob/main/CODE_OF_CONDUCT.md)
- [x] The issues this PR addresses are related to each other
- [x] My changes generate no new warnings
- [x] My code builds and runs on my machine
- [x] My changes are all related to the related issue above
- [x] I documented my code
### Screenshots
<!--- REQUIRED: if issue is UI related -->
<!--- IMPORTANT: Fill out all required fields. Otherwise we might close
this PR temporarily -->
---------
Co-authored-by: Khan Winter <[email protected]>
Co-authored-by: Austin Condiff <[email protected]>
Copy file name to clipboardExpand all lines: Example/CodeEditSourceEditorExample/CodeEditSourceEditorExample.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
0 commit comments