✨ Select Next/Previous Occurrence
@austincondiff ya está trabajando en esto.
Desde el 7/6/2025.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Description
We should allow users to navigate between occurrences of the selected text within the currently open document using the keyboard shortcuts:
- Select Next Occurrence: ⌥ ⌘ E
- Select Previous Occurrence: ⇧ ⌥ ⌘ E
This feature will leverage the existing Find in Document mechanism and displays a loop / end of document HUD when navigating between matches (see #1 for details).
Additional Context
- When navigating through occurrences, all matches should be highlighted, with the currently selected match prominently highlighted.
- If "Wrap Around" is enabled, the loop HUD should be displayed upon reaching the end or beginning of the document, providing a visual cue that no more matches are available in that direction.
- This feature should align with the existing Find functionality.
[!NOTE]
We may want to leverage the functionality introduced with in-editor find and replace, and theEmphasisManager.
Requirements
-
Keyboard Shortcuts:
- ⌥ ⌘ E to select the next occurrence.
- ⇧ ⌥ ⌘ E to select the previous occurrence.
-
Loop HUD:
- If "Wrap Around" is enabled, display a HUD notification when the end or beginning of the document is reached, indicating no further matches are available, otherwise display a end of file HUD.
-
Highlighting:
- Ensure all occurrences of the selected text are highlighted.
- The currently selected occurrence should be temporarily highlighted to guide user focus using the EmphasisManager.
-
Find in Document Mechanism Integration:
- The implementation should utilize the existing Find in Document mechanism to maintain consistency across the app's search and navigation features.
Related Issues
- #1
Screenshots
https://github.com/user-attachments/assets/3810a585-0a6d-4636-acb9-fd330dd9ae26
- Lenguaje dominante
- Swift
- Estrellas
- 720
- Forks
- 162
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de CodeEditApp/CodeEditSourceEditor
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
CodeEditApp/CodeEditSourceEditor#377 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
CodeEditApp/CodeEditSourceEditor#376 · 1 comentario ·
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 68/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
CodeEditApp/CodeEditSourceEditor#378 · 1 comentario ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 32/100
Todos los issues de CodeEditApp/CodeEditSourceEditor
Issues similares
-
The correction-threshold rationale says 17 restraint cases collide; the current corpus has 16 Abiertoarea:dictation documentation P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
uttrflow/uttrflow-swift#1180 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
OneBusAway/onebusaway-ios#1451 ·
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100