CodeMirrorEditor.getSearchCursor method
CodeMirrorEditor › getSearchCursor
Unofficial
Get a search cursor for the given regular expression starting at the given position.Signature:
getSearchCursor(query: RegExp, pos: EditorPosition): CodeMirrorEditorSearchCursorParameters:
| Parameter | Type | Description |
|---|---|---|
| query | RegExp | The regular expression to search for. |
| pos | EditorPosition | The position to start searching from. |
Returns: CodeMirrorEditorSearchCursor — The search cursor.