|
Oxygen XML Editor 13.2 Author API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectro.sync.ecss.extensions.commons.operations.MoveCaretUtil
@API(type=INTERNAL,
src=PUBLIC)
public class MoveCaretUtilUtility to detect an editor variable in the Author page and move the caret to that place.
| Constructor Summary | |
|---|---|
MoveCaretUtil()
|
|
| Method Summary | |
|---|---|
static boolean |
hasImposedEditorVariableCaretOffset(java.lang.String xmlFragment)
Check if the imposed editor variable caret offset can be found in the XML fragment. |
static void |
moveCaretToImposedEditorVariableOffset(AuthorAccess authorAccess,
int insertionOffset)
Move the caret to the offset imposed by a certain editor variable present in the Author page. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MoveCaretUtil()
| Method Detail |
|---|
public static boolean hasImposedEditorVariableCaretOffset(java.lang.String xmlFragment)
xmlFragment - The XML fragment.
true if the imposed editor variable caret offset can be found in the XML
fragment.
public static void moveCaretToImposedEditorVariableOffset(AuthorAccess authorAccess,
int insertionOffset)
authorAccess - The author access.insertionOffset - The offset where the operation inserted the XML fragment.
|
Oxygen XML Editor 13.2 Author API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||