FindState
State management for the Find feature.
Parameters
textState
The TextEditorState to search within
scope
CoroutineScope for handling text change reactions
Properties
Functions
Link copied to clipboard
Clear the search - remove all highlights and reset state.
Link copied to clipboard
Navigate to the previous match.
Link copied to clipboard
Replace all matches with the given text.
Link copied to clipboard
Replace the current match with the given text and move to the next match.
Link copied to clipboard
Toggle case sensitivity and re-run search if there's an active query.