EditOptions Structure
Options applicable to text editing transactions.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Déclaration
Public Structure EditOptions
public struct EditOptions
public value class EditOptions
[<Sealed>]
type EditOptions = struct end
JScript supports the use of structures, but not the declaration of new ones.
The EditOptions type exposes the following members.
Constructors
Name | Description | |
---|---|---|
EditOptions(StringDifferenceOptions) | Initializes a new instance of EditOptions for computing a minimal difference, with the given StringDifferenceOptions. | |
EditOptions(Boolean, StringDifferenceOptions) | Initializes a new instance of EditOptions. |
Top
Properties
Name | Description | |
---|---|---|
ComputeMinimalChange | Determines whether to compute the minimal change. | |
DifferenceOptions | The differencing options for this edit, if ComputeMinimalChange is true. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether two sets of options are the same. (Overrides ValueType.Equals(Object).) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Provides a hash function for the type. (Overrides ValueType.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Provides a string representation of these edit options. (Overrides ValueType.ToString().) |
Top
Operators
Name | Description | |
---|---|---|
Equality | Determines whether two EditOption objects are the same. | |
Inequality | Determines whether two EditOption objects are different. |
Top
Fields
Name | Description | |
---|---|---|
DefaultMinimalChange | Turn this edit into a minimal change, using line and word string differencing. | |
None | No special treatment. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.