Package | Description |
---|---|
org.openstreetmap.josm.gui.history | |
org.openstreetmap.josm.tools |
Modifier and Type | Method and Description |
---|---|
private void |
TwoColumnDiff.twoColumnDiffFromScript(Diff.Change script,
Object[] a,
Object[] b)
The result from the diff algorithm is a "script" (a compressed description of the changes)
This method expands this script into a full two column description.
|
Modifier and Type | Field and Description |
---|---|
Diff.Change |
Diff.Change.link
Previous or next edit command.
|
Modifier and Type | Method and Description |
---|---|
Diff.Change |
Diff.ScriptBuilder.build_script(boolean[] changed0,
int len0,
boolean[] changed1,
int len1)
Scan the tables of which lines are inserted and deleted,
producing an edit script.
|
Diff.Change |
Diff.ReverseScript.build_script(boolean[] changed0,
int len0,
boolean[] changed1,
int len1) |
Diff.Change |
Diff.ForwardScript.build_script(boolean[] changed0,
int len0,
boolean[] changed1,
int len1)
Scan the tables of which lines are inserted and deleted,
producing an edit script in forward order.
|
Diff.Change |
Diff.diff_2(boolean reverse)
Report the differences of two files.
|
Diff.Change |
Diff.diff(Diff.ScriptBuilder bld)
Get the results of comparison as an edit script.
|
Constructor and Description |
---|
Diff.Change(int line0,
int line1,
int deleted,
int inserted,
Diff.Change old)
Cons an additional entry onto the front of an edit script OLD.
|