EditOptions Structure

 

Options applicable to text editing transactions.

Namespace:   Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

public struct EditOptions

NameDescription
System_CAPS_pubmethodEditOptions(Boolean, StringDifferenceOptions)

Initializes a new instance of EditOptions.

System_CAPS_pubmethodEditOptions(StringDifferenceOptions)

Initializes a new instance of EditOptions for computing a minimal difference, with the given StringDifferenceOptions.

NameDescription
System_CAPS_pubpropertyComputeMinimalChange

Determines whether to compute the minimal change.

System_CAPS_pubpropertyDifferenceOptions

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

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether two sets of options are the same.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodGetHashCode()

Provides a hash function for the type.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

Provides a string representation of these edit options.(Overrides ValueType.ToString().)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticDefaultMinimalChange

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

System_CAPS_pubfieldSystem_CAPS_staticNone

No special treatment.

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(EditOptions, EditOptions)

Determines whether two EditOption objects are the same.

System_CAPS_puboperatorSystem_CAPS_staticInequality(EditOptions, EditOptions)

Determines whether two EditOption objects are different.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: