## Uses of Class
org.gjt.sp.jedit.textarea.Selection

Packages that use Selection
org.gjt.sp.jedit: This package contains jEdit's core classes.
org.gjt.sp.jedit.search: Search and replace classes.
org.gjt.sp.jedit.textarea: Classes related to jEdit's TextArea.

Uses of Selection in org.gjt.sp.jedit

Methods in org.gjt.sp.jedit that return Selection
`Selection[]` `BufferHistory.Entry.getSelection()`

Methods in org.gjt.sp.jedit with parameters of type Selection
`static void` `BufferHistory.setEntry(java.lang.String path, int caret, Selection[] selection, java.lang.String encoding, java.lang.String mode)`

Uses of Selection in org.gjt.sp.jedit.search

Methods in org.gjt.sp.jedit.search that return Selection
`Selection[]` `HyperSearchResult.getSelection()` Returns an array of selection objects pointing to the occurrences of the search term on the current line.

Uses of Selection in org.gjt.sp.jedit.textarea

Subclasses of Selection in org.gjt.sp.jedit.textarea
`class` `ColumnBlock`
`static class` `Selection.Range` An ordinary range selection.
`static class` `Selection.Rect` A rectangular selection.

Methods in org.gjt.sp.jedit.textarea that return Selection
`Selection[]` `TextArea.getSelection()` Returns the current selection.
`Selection` `TextArea.getSelection(int index)` Returns the selection with the specified index.
`Selection` `TextArea.getSelectionAtOffset(int offset)` Returns the selection containing the specific offset, or `null` if there is no selection at that offset.
`Selection` `TextArea.selectToMatchingBracket(int position, boolean quickCopy)` Selects from the bracket at the specified position to the corresponding bracket.

Methods in org.gjt.sp.jedit.textarea that return types with arguments of type Selection
`java.util.Iterator<Selection>` `TextArea.getSelectionIterator()` Returns the current selection.

Methods in org.gjt.sp.jedit.textarea with parameters of type Selection
`void` `TextArea.addToSelection(Selection selection)` Adds to the selection.
`void` `TextArea.addToSelection(Selection[] selection)` Adds to the selection.
`java.lang.String` `TextArea.getSelectedText(Selection s)` Returns the text in the specified selection.
`boolean` `Selection.overlaps(Selection s)` Returns if this selection and the specified selection overlap.
`void` `TextArea.removeFromSelection(Selection sel)` Deactivates the specified selection.
`void` `TextArea.setSelectedText(Selection s, java.lang.String selectedText)` Replaces the selection with the specified text.
`void` `TextArea.setSelection(Selection selection)` Sets the selection.
`void` `TextArea.setSelection(Selection[] selection)` Sets the selection.

Constructors in org.gjt.sp.jedit.textarea with parameters of type Selection
`Selection.Range(Selection sel)`
`Selection.Rect(Selection sel)`
`Selection(Selection sel)`