Editor โบ replaceRange
Editor.replaceRange() method
Signature:
abstract replaceRange(replacement: string, from: EditorPosition, to?: EditorPosition, origin?: string): void;Parameters
| Parameter | Type | Description |
|---|---|---|
replacement | string | |
from | EditorPosition | |
to | EditorPosition | (Optional) |
origin | string | (Optional) |
Returns:
void