Class UnifiedDiff.Builder
java.lang.Object
org.eclipse.compare.unifieddiff.UnifiedDiff.Builder
- Enclosing class:
UnifiedDiff
-
Method Summary
Modifier and TypeMethodDescriptionadditionalActions(List<Action> actions) foldUnchanged(int contextLines) Collapses unchanged regions between diffs, keeping the given number of context lines (at least one) around each change.ignoreWhiteSpace(boolean value) open()
-
Method Details
-
additionalActions
-
ignoreWhitespaceContributorFactory
public UnifiedDiff.Builder ignoreWhitespaceContributorFactory(UnifiedDiff.IgnoreWhitespaceContributorFactory factory) -
tokenComparatorFactory
-
ignoreWhiteSpace
-
foldUnchanged
Collapses unchanged regions between diffs, keeping the given number of context lines (at least one) around each change. A negative value disables folding.The folding of the editor is reused, so this has no effect in an editor without folding support, such as the default text editor, or in an editor whose folding the user turned off.
-
open
-