FindBarStrings
data class FindBarStrings(val placeholder: String, val clearSearch: String, val noMatches: String, val previousMatch: String, val nextMatch: String, val close: String, val matchCount: (current: Int, total: Int) -> String, val replacePlaceholder: String, val replace: String, val replaceAll: String, val showReplace: String, val hideReplace: String, val matchCase: String = "Match case", val wholeWord: String = "Whole word", val regex: String = "Regular expression", val inSelection: String = "Find in selection", val invalidPattern: String = "Invalid pattern")(source)
Localizable strings for the FindBar component. Provide a custom implementation to localize the Find UI.
Constructors
Link copied to clipboard
constructor(placeholder: String, clearSearch: String, noMatches: String, previousMatch: String, nextMatch: String, close: String, matchCount: (current: Int, total: Int) -> String, replacePlaceholder: String, replace: String, replaceAll: String, showReplace: String, hideReplace: String, matchCase: String = "Match case", wholeWord: String = "Whole word", regex: String = "Regular expression", inSelection: String = "Find in selection", invalidPattern: String = "Invalid pattern")
Properties
Link copied to clipboard
Accessibility label and tooltip for the clear-search button.
Link copied to clipboard
Label for the control that hides the replace UI.
Link copied to clipboard
Accessibility label for the find-in-selection toggle.
Link copied to clipboard
Message shown when the query is not a valid regular expression.
Link copied to clipboard
Format string for match count display. Will be called with (currentIndex, totalCount) parameters. Example: "3 of 15"
Link copied to clipboard
Placeholder text shown in the search input field.
Link copied to clipboard
Accessibility label and tooltip for the previous-match button.
Link copied to clipboard
Label for the button that replaces all matches.
Link copied to clipboard
Placeholder text shown in the replacement input field.
Link copied to clipboard
Label for the control that reveals the replace UI.