findAll
fun TextEditorState.findAll(query: String, caseSensitive: Boolean = false): List<TextEditorRange>(source)
Find all occurrences of a query string in the text editor.
Return
List of TextEditorRange for each match, in document order
Parameters
query
The string to search for
caseSensitive
Whether the search should be case-sensitive