Edit
An implementation of the DocumentProvider.Edit
interface for editing document contents.
This object provides functionality to modify the text content of a specified document, either entirely or partially based on a given range. It handles reading and writing text to the document with a focus on ensuring that the range and content modifications are valid.
Functions
Link copied to clipboard
open suspend override fun setText(document: Path, text: String, range: DocumentProvider.DocumentRange?)
Sets the text content of the specified document, optionally within the provided range.