Package | Description |
---|---|
org.openstreetmap.josm.gui.history |
Provides GUI classes for handling history of OSM objects.
|
org.openstreetmap.josm.tools |
Provides the classes for various utilities and tools called from all other packages.
|
Modifier and Type | Method and Description |
---|---|
private void |
TwoColumnDiff.twoColumnDiffFromScript(Diff.Change script,
java.lang.Object[] a,
java.lang.Object[] b,
boolean reversed)
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.buildScript(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.buildScript(boolean[] changed0,
int len0,
boolean[] changed1,
int len1) |
Diff.Change |
Diff.ForwardScript.buildScript(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(Diff.ScriptBuilder bld)
Get the results of comparison as an edit script.
|
Diff.Change |
Diff.diff2(boolean reverse)
Report the differences of two files.
|
Constructor and Description |
---|
Change(int line0,
int line1,
int deleted,
int inserted,
Diff.Change old)
Cons an additional entry onto the front of an edit script OLD.
|