Search for text/pattern in SuperEditor content. Select text and apply different sizes. Supports pt, px, em, and rem units with automatic min/max clamping.Documentation Index
Fetch the complete documentation index at: https://superdoc-nick-sd-2070-add-content-controls-namespace-to-doc.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Use case
- Find and replace: quickly locate words or phrases and replace them.
- Content navigation: jump to the next or previous match without scrolling manually.
- Highlighting: visually emphasize search results for the user.
- Custom workflows: integrate search into toolbars, command palettes, or keyboard shortcuts.
Commands
goToFirstMatch
Navigate to the first search match
Scrolls editor to the first match from previous search
search
Search for string matches in editor content
Returns array of SearchMatch objects with positions and IDs
Search string, regex, or regex shorthand (e.g.,
'/pattern/flags')Optional settings
Apply CSS highlight classes to matches
Maximum number of matches to return
goToSearchResult
Navigate to a specific search match
Scrolls to match and selects it
Match object to navigate to

