Partager via


EditOptions Struct

Definition

Options applicable to text editing transactions.

public value class EditOptions
struct EditOptions
public struct EditOptions
type EditOptions = struct
Public Structure EditOptions
Inheritance
EditOptions

Constructors

EditOptions(Boolean, StringDifferenceOptions)

Create a set of edit options.

EditOptions(StringDifferenceOptions)

Create a set of edit options for computing a minimal difference, with the given StringDifferenceOptions.

Fields

DefaultMinimalChange

Turn this edit into a minimal change, using line and word string differencing.

None

Do nothing special with this edit.

Properties

ComputeMinimalChange

True if this edit computes minimal change using the differencing option StringDifferenceOptions, false otherwise.

DifferenceOptions

The differencing options for this edit, if ComputeMinimalChange is true.

Methods

Equals(Object)

Determines whether two spans are the same.

GetHashCode()

Provides a hash function for the type.

ToString()

Provides a string representation of these edit options.

Operators

Equality(EditOptions, EditOptions)

Determines whether two EditOptions are the same

Inequality(EditOptions, EditOptions)

Determines whether two EditOptions are different.

Applies to