|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ContentMarker ro.sync.ecss.changetracking.ChangeMarker
public class ChangeMarker
This object marks a change in the Author (insert or delete).
Constructor Summary | |
---|---|
ChangeMarker(PersistentHighlightType type)
Constructor. |
Method Summary | |
---|---|
static ChangeMarker |
createChangeMarker(Content content,
MarkerBase marker,
int startOffset,
int endOffset)
Create a fixed marker with the info from another marker. |
static ChangeMarker |
duplicate(Content content,
MarkerBase marker)
Create a fixed marker with the info from another marker. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChangeMarker(PersistentHighlightType type)
type
- The persistent highlight type,
one of AuthorPersistentHighlight.PersistentHighlightType#CHANGE_DELETE
or
AuthorPersistentHighlight.PersistentHighlightType#CHANGE_INSERT
Method Detail |
---|
public static final ChangeMarker createChangeMarker(Content content, MarkerBase marker, int startOffset, int endOffset) throws javax.swing.text.BadLocationException
content
- The author content.marker
- The original marker.startOffset
- The start offsetendOffset
- The end offset
javax.swing.text.BadLocationException
- Thrown if it fails to create positions.public static final ChangeMarker duplicate(Content content, MarkerBase marker) throws javax.swing.text.BadLocationException
content
- The author content.marker
- The original marker.
javax.swing.text.BadLocationException
- Thrown if it fails to create positions.
|
Oxygen XML Editor 12.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |