Excerpt

Represents multiple separate text selections from a file.

Each snippet contains text from a different part of the file, allowing non-contiguous selections.

Constructors

Link copied to clipboard
constructor(vararg snippets: FileSystemEntry.File.Content.Excerpt.Snippet)

Creates an Excerpt from multiple Snippets.

Types

Link copied to clipboard
data class Snippet(val text: String, val range: DocumentProvider.DocumentRange)

Represents a text selection with its location in the source file.

Properties

Link copied to clipboard

text selections with their file positions