Package | Description |
---|---|
org.gjt.sp.jedit |
This package contains jEdit 4's core classes.
|
org.gjt.sp.jedit.buffer |
Buffer event listeners, and classes used to implement jEdit's document model.
|
org.gjt.sp.jedit.search |
Search and replace classes.
|
org.gjt.sp.jedit.textarea |
Classes related to jEdit's TextArea.
|
org.jedit.keymap |
Named sets of keyboard shortcuts
|
Modifier and Type | Method and Description |
---|---|
Selection[] |
BufferHistory.Entry.getSelection() |
Modifier and Type | Method and Description |
---|---|
static void |
BufferHistory.setEntry(java.lang.String path,
int caret,
Selection[] selection,
java.lang.String encoding,
java.lang.String mode) |
Modifier and Type | Method and Description |
---|---|
Selection[] |
UndoManager.redo() |
Selection[] |
UndoManager.undo() |
Modifier and Type | Method and Description |
---|---|
Selection[] |
HyperSearchResult.getSelection()
Returns an array of selection objects pointing to the occurrences
of the search term on the current line.
|
Modifier and Type | Class and Description |
---|---|
class |
ColumnBlock |
static class |
Selection.Range
An ordinary range selection.
|
static class |
Selection.Rect
A rectangular selection.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<Selection> |
TextArea.getSelectionIterator()
Returns the current selection.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
Range(Selection sel) |
Rect(Selection sel) |
Selection(Selection sel) |
Modifier and Type | Method and Description |
---|---|
Selection |
EmacsUtil.getKillRegion() |
Modifier and Type | Method and Description |
---|---|
void |
EmacsUtil.addToClipboardAndHistory(Selection selection) |
void |
EmacsUtil.setClipboard(Selection selection) |