replace

fun replace(uri: Uri, range: Range, newText: String, metadata: WorkspaceEditEntryMetadata = definedExternally)(source)

Replace the given range with given text for the given resource.

Parameters

uri

A resource identifier.

range

A range.

newText

A string.

metadata

Optional metadata for the entry.

Online Documentation