TextChange Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Describes a text change operation.
public struct TextChange
type TextChange = struct
Public Structure TextChange
- Inheritance
-
TextChange
Constructors
TextChange(Int32, Int32, ITextBuffer, Int32, Int32, ITextBuffer) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Initializes a new instance of the TextChange class. |
Properties
IsDelete |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a value that indicates whether this text change is a delete. |
IsInsert |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a value that indicates whether this text change is an insert. |
IsReplace |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a value that indicates whether this text change is a replace. |
NewBuffer |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets a new text buffer. |
NewLength |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the length of the new text. |
NewPosition |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the position of the text change in the snapshot immediately after the change. |
NewText |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the text that replaced the old text. |
OldBuffer |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets an old text buffer. |
OldLength |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the length of the old text. |
OldPosition |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the position of the text change in the snapshot immediately before the change. |
OldText |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets the text that was replaced. |
Methods
ApplyChange(Span) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Applies the specified text change. |
ApplyChange(String, Int32) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Applies the specified text change. |
Equals(Object) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the specified object is equal to the current object. |
GetHashCode() |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the hash code for this text change. |
Normalize() |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns a normalized value of this text change. |
ToString() |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Returns a string representation of the text change. |
Operators
Equality(TextChange, TextChange) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the two text change are equal. |
Inequality(TextChange, TextChange) |
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Determines whether the two text change are not equal. |