insert

fun insert(uri: Uri, position: Position, newText: String, metadata: WorkspaceEditEntryMetadata = definedExternally)(source)

Insert the given text at the given position.

Parameters

uri

A resource identifier.

position

A position.

newText

A string.

metadata

Optional metadata for the entry.

Online Documentation