| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static void | addToCurrentGroup(EditMerge.
Add group to state.currentGroup Set state.cursorBetween to start at currentRange.getEnd() Expand state.currentGroupCursor to also cover currentRange Set state.prev to group, state.prevRange to currentRange |
| private static boolean | Returns: false if cannot add, true if can. If returned true, then state.cursorBetween and state.currentGroupCursor are expanded to end at the start of currentRange.The CitationGroup to test group, com.The XTextRange corresponding to group. currentRangeDecide if group could be added to state.currentGroup |
| public static boolean | Returns: true if modified document
|
| private static List | scan(com.
Scan the document for joinable groups. |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| EditMerge | back to summary |
|---|---|
| private EditMerge() | |
| addToCurrentGroup | back to summary |
|---|---|
| private static void addToCurrentGroup(EditMerge. Add group to state.currentGroup Set state.cursorBetween to start at currentRange.getEnd() Expand state.currentGroupCursor to also cover currentRange Set state.prev to group, state.prevRange to currentRange | |
| checkAddToGroup | back to summary |
|---|---|
| private static boolean checkAddToGroup(EditMerge. Decide if group could be added to state.currentGroup
| |
| mergeCitationGroups | back to summary |
|---|---|
public static boolean mergeCitationGroups(com.
| |
| scan | back to summary |
|---|---|
| private static List Scan the document for joinable groups. Return those found. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv List | group
A list of consecutive citation groups only separated by spaces. |
| pack-priv com. | groupCursor
A cursor covering the XTextRange of each entry in group (and the spaces between them) |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| group | back to summary |
|---|---|
| pack-priv List<CitationGroup> group A list of consecutive citation groups only separated by spaces. | |
| groupCursor | back to summary |
|---|---|
| pack-priv com. A cursor covering the XTextRange of each entry in group (and the spaces between them) | |
| JoinableGroupData | back to summary |
|---|---|
| pack-priv JoinableGroupData(List<CitationGroup> group, com. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv List | |
| pack-priv com. | |
| pack-priv com. | |
| pack-priv CitationGroup | |
| pack-priv com. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void |
| currentGroup | back to summary |
|---|---|
| pack-priv List<CitationGroup> currentGroup | |
| currentGroupCursor | back to summary |
|---|---|
| pack-priv com. | |
| cursorBetween | back to summary |
|---|---|
| pack-priv com. | |
| prev | back to summary |
|---|---|
| pack-priv CitationGroup prev | |
| prevRange | back to summary |
|---|---|
| pack-priv com. | |
| ScanState | back to summary |
|---|---|
| pack-priv ScanState() | |
| reset | back to summary |
|---|---|
| pack-priv void reset() | |