@API(type=INTERNAL,
src=PUBLIC)
public class MoveCaretUtil
extends java.lang.Object
Constructor and Description |
---|
MoveCaretUtil() |
Modifier and Type | Method and Description |
---|---|
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.
|
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.© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.