TextChange TextChange TextChange Struct

Definition

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
TextChangeTextChangeTextChange

Constructors

TextChange(Int32, Int32, ITextBuffer, Int32, Int32, ITextBuffer) TextChange(Int32, Int32, ITextBuffer, Int32, Int32, ITextBuffer) 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 IsDelete 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 IsInsert 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 IsReplace 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 NewBuffer 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 NewLength 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 NewPosition 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 NewText 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 OldBuffer 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 OldLength 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 OldPosition 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 OldText 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) ApplyChange(Span) 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) ApplyChange(String, Int32) 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) Equals(Object) 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() GetHashCode() 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() Normalize() 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() ToString() 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) Equality(TextChange, TextChange) 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) Inequality(TextChange, TextChange) 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.

Applies to