Snippet

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

Constructors

Link copied to clipboard
constructor(text: String, range: DocumentProvider.DocumentRange)

Properties

Link copied to clipboard

position in the file (zero-based, start inclusive, end exclusive)

Link copied to clipboard

the selected text