Package | Description |
---|---|
org.jeditor.diff |
The diff package, allowing to present differences between two text files.
|
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.diff_2()
Report the differences of two files.
|
Diff.change |
Diff.diff_2(boolean reverse)
Report the differences of two files.
|
protected Diff.change |
DiffBase.hunkfun(Diff.change hunk)
Called with the tail of the script and returns the last link that belongs together with the start of the tail.
|
protected Diff.change |
DiffPrint.Base.hunkfun(Diff.change hunk)
Called with the tail of the script and returns the last link that belongs together with the start
of the tail.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DiffBase.analyze_hunk(Diff.change hunk)
Look at a hunk of edit script and report the range of lines in each file that it applies to.
|
protected void |
DiffPrint.Base.analyzeHunk(Diff.change hunk)
Look at a hunk of edit script and report the range of lines in each file that it applies to.
|
protected Diff.change |
DiffBase.hunkfun(Diff.change hunk)
Called with the tail of the script and returns the last link that belongs together with the start of the tail.
|
protected Diff.change |
DiffPrint.Base.hunkfun(Diff.change hunk)
Called with the tail of the script and returns the last link that belongs together with the start
of the tail.
|
protected abstract Change |
DiffBase.printHunk(Diff.change hunk)
Print a Diff change hunk.
|
protected abstract void |
DiffPrint.Base.printHunk(Diff.change hunk) |
protected void |
DiffPrint.NormalPrint.printHunk(Diff.change hunk)
Print a hunk of a normal diff.
|
protected void |
DiffPrint.EdPrint.printHunk(Diff.change hunk)
Print a hunk of an ed diff.
|
protected Change |
GUIPrint.printHunk(Diff.change hunk)
Print a Diff change hunk.
|
void |
DiffBase.printScript(Diff.change script)
Divide SCRIPT into pieces by calling
DiffBase.hunkfun(org.jeditor.diff.Diff.change) and print each piece with
DiffBase.printHunk(org.jeditor.diff.Diff.change) . |
void |
DiffPrint.Base.printScript(Diff.change script)
Divide a script into pieces by calling
DiffPrint.Base.hunkfun(org.jeditor.diff.Diff.change) and print each piece with
DiffPrint.Base.printHunk(org.jeditor.diff.Diff.change) . |
Copyright © 2016, 2017, 2018, 2019, 2023 Herve Girod. All Rights Reserved. Documentation and source under the MIT licence