| 程序包 | 说明 |
|---|---|
| cn.mapway.document.ui.client.component.ace |
| 限定符和类型 | 方法和说明 |
|---|---|
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).
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
AceEditor.getIndexFromPosition(AceEditorCursorPosition position)
Gets the given document position as a zero-based index.
|
void |
AceCompletionProvider.getProposals(AceEditor editor,
AceEditorCursorPosition pos,
String prefix,
AceCompletionCallback callback)
Call to get code completion proposals, which are delivered
to a callback.
|
Copyright © 2020. All rights reserved.