Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
open class Selection

A Selection object represents the range of text selected by the user or the current position of the caret. Each document is associated with a unique selection object, which can be retrieved by document.getSelection() or window.getSelection() and then be examined and modified.