Modifier and Type | Method and Description |
---|---|
static AceEditorCursorPosition |
AceEditorCursorPosition.create(int row,
int column)
Static creation method.
|
AceEditorCursorPosition |
AceEditor.getCursorPosition()
Get the current cursor position.
|
AceEditorCursorPosition |
AceEditor.getPositionFromIndex(int index)
Gets a document position from a supplied zero-based index.
|
AceEditorCursorPosition |
AceSelection.getSelectionAnchor()
Give starting position of selection (opposite to position where cursor is located).
|
AceEditorCursorPosition |
AceSelection.getSelectionLead()
Give position of leading end of selection (where cursor is located).
|
Modifier and Type | Method and Description |
---|---|
int |
AceEditor.getIndexFromPosition(AceEditorCursorPosition position)
Gets the given document position as a zero-based index.
|
void |
AceCompletionProvider.getProposals(AceEditor editor,
AceEditorCursorPosition pos,
java.lang.String prefix,
AceCompletionCallback callback)
Call to get code completion proposals, which are delivered
to a callback.
|