Skip to content
ConsoleMonster
Class

TextDiffOptions

ConsoleMonster.Changes

Namespace
ConsoleMonster.Changes
Assembly
ConsoleMonster
Modifiers
sealed

Controls text comparison and the amount of unchanged context shown by a text diff.

Inheritance

  • object
  • TextDiffOptions

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters 1

Constructors

public TextDiffOptions() #

Properties

public int Context { get; set; } #

Unchanged lines retained on each side of a change (default three). Must be nonnegative.

public bool IgnoreWhitespace { get; set; } #

Ignores Unicode whitespace within lines. Line boundaries and a missing final newline still matter.

public string ReferenceLabel { get; set; } #

The plain original-text label in the widget and unified header (default Before).

public string DifferenceLabel { get; set; } #

The plain new-text label in the widget and unified header (default After).