Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

✨ Select Next/Previous Occurrence #300

Open
Assignees
austincondiff
Labels
enhancementNew feature or request
@austincondiff

Description

@austincondiff

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

  1. Keyboard Shortcuts:

    • E to select the next occurrence.
    • E to select the previous occurrence.
  2. 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.
  3. 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.
  4. 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

Screenshots

Screen.Recording.2024-11-08.at.2.23.37.PM.mov
image

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status

🏃‍♂️ In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp