|
Oxygen XML Editor 14.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface AuthorChangeTrackingController
Controls the change tracking mode. Can toggle change tracking on and off and check its state.
Method Summary | |
---|---|
void |
accept(AuthorPersistentHighlight highlight)
Accept the given change tracking highlight. |
void |
accept(int startOffset,
int endOffset)
Accept all change tracking highlights that intersect the interval between the given start and end offset. |
AuthorPersistentHighlight[] |
getChangeHighlights()
Fetches the list of change tracking highlights. |
AuthorPersistentHighlight[] |
getChangeHighlights(int startOffset,
int endOffset)
Fetches the list of change tracking highlight that intersects the interval between the given start offset and end offset. |
boolean |
isTrackingChanges()
Return true if the current editor is in change tracking mode. |
void |
reject(AuthorPersistentHighlight highlight)
Reject the given change tracking highlight. |
void |
reject(int startOffset,
int endOffset)
Reject all change tracking highlights that intersect the interval between the given start and end offset. |
void |
toggleTrackChanges()
Toggle the track changes mode. |
Method Detail |
---|
boolean isTrackingChanges()
true
if the current editor is in change tracking mode.
true
if the current editor is in change tracking mode.void toggleTrackChanges()
isTrackingChanges()
AuthorPersistentHighlight[] getChangeHighlights()
AuthorPersistentHighlight[] getChangeHighlights(int startOffset, int endOffset)
startOffset
- The start offset(inclusive).endOffset
- The end offset (inclusive).
null
if
no change tracking highlight intersects the given offsets interval.Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
void accept(int startOffset, int endOffset)
startOffset
- The interval start offset.endOffset
- The interval end offset.Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
void accept(AuthorPersistentHighlight highlight)
highlight
- The change tracking highlight to be accepted.Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
void reject(int startOffset, int endOffset)
startOffset
- The interval start offset.endOffset
- The interval end offset.Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
void reject(AuthorPersistentHighlight highlight)
highlight
- The change tracking highlight to be accepted.Please note that this API is not marked as final and it can change in one of the next versions of the application. If you have suggestions, comments about it, please let us know.
|
Oxygen XML Editor 14.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |