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 |
---|---|
List<CaretInfo> |
EditorCaret.getCarets()
Get information about all existing carets in the order they were created.
|
List<CaretInfo> |
CaretMoveContext.getOriginalCarets()
Get list of carets at the time when transaction started.
|
List<CaretInfo> |
CaretMoveContext.getOriginalSortedCarets()
Get list of carets at the time when transaction started
sorted by dot positions in ascending order.
|
List<CaretInfo> |
EditorCaret.getSortedCarets()
Get information about all existing carets sorted by dot positions in ascending order.
|
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.
|
Built on April 17 2024. | Copyright © 2017-2024 Apache Software Foundation. All Rights Reserved.