Module: actions/GenerateSnippet/editText
Namespaces
Functions
editText
▸ editText(text
, edits
): string
For each edit in {@link edits} replaces the given Edit.offsets in {@link text} with Edit.text.
Parameters
Name | Type | Description |
---|---|---|
text | string | The text to edit |
edits | Edit [] | The edits to perform |
Returns
string
The edited string
Defined in
actions/GenerateSnippet/editText.ts:12