Package | Description |
---|---|
org.netbeans.api.editor.caret |
The Editor Caret API opens up the editor to give information about its carets
and to manipulate them.
|
org.netbeans.spi.editor.caret |
The Editor Caret SPI contains interface(s) to be implemented by clients
in order to manipulate the editor carets.
|
Modifier and Type | Method and Description |
---|---|
CaretInfo |
EditorCaret.getCaretAt(int offset)
Get information about the caret at the specified offset.
|
CaretInfo |
EditorCaret.getLastCaret()
Get info about the most recently created caret.
|
CaretInfo |
CaretMoveContext.getOriginalLastCaret()
Get last item from the list returned by
CaretMoveContext.getOriginalCarets() . |
Modifier and Type | Method and Description |
---|---|
boolean |
CaretMoveContext.moveDot(CaretInfo caret,
Position dotPos,
Position.Bias dotBias)
Move dot of the given caret so caret selection gets created or changed.
|
boolean |
CaretMoveContext.setDot(CaretInfo caret,
Position dotPos,
Position.Bias dotBias)
Change dot of the given caret.
|
boolean |
CaretMoveContext.setDotAndMark(CaretInfo caret,
Position dotPos,
Position.Bias dotBias,
Position markPos,
Position.Bias markBias)
Move dot of the given caret so caret selection gets created or changed.
|
boolean |
CaretMoveContext.setMagicCaretPosition(CaretInfo caret,
Point p)
Set magic caret position of the given caret.
|
Modifier and Type | Method and Description |
---|---|
abstract CaretInfo |
NavigationFilterBypass.getCaretItem()
Returns the currently changing CaretItem.
|