@API(type=NOT_EXTENDABLE,
     src=PUBLIC)
public interface AuthorSelectionAndCaretModel
extends AuthorSelectionModel
| Modifier and Type | Method and Description | 
|---|---|
int | 
getCaretOffset()
Returns the offset of the caret in the document. 
 | 
void | 
moveTo(int offset)
Moves the caret to the specified position. 
 | 
void | 
moveTo(int offset,
      boolean select)
Moves the caret to the new offset, possibly changing the selection. 
 | 
addSelection, clearSelection, getSelectionInterpretationMode, getSelectionInterval, getSelectionIntervals, hasMultipleSelection, hasSelection, setSelection, setSelectionInterpretationModeint getCaretOffset()
void moveTo(int offset)
offset - The new position of the caret.void moveTo(int offset,
          boolean select)
offset - new offset for the caret. The offset must be >= 1 and less
 than the document size; if not, it is silently ignored.select - if true, the current selection is extended to
 match the new caret offset.© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.