Edit

interface Edit<Path, Document>(source)

Represents an interface for performing edit operations on a document.

Type Parameters

Path

The type representing the document's path or identifier.

Document

The type representing the document to perform edits on.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun setText(document: Document, text: String, range: DocumentProvider.DocumentRange? = null)

Sets the text content of the specified document, optionally within the provided range.