SearchCursor.replace method
SearchCursor › replace
Unofficial
Replace current search result with specified text.Signature:
replace(replacement: string, origin: string): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| replacement | string | The text to replace with. |
| origin | string | The origin identifier for the change. |
Returns: void
Remarks:
origin is used by CodeMirror to determine which component was responsible for the change.