Megosztás a következőn keresztül:


TextChange Struct

Definition

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

Constructors

TextChange(Int32, Int32, ITextBuffer, Int32, Int32, ITextBuffer)

Properties

IsDelete
IsInsert
IsReplace
NewBuffer
NewLength
NewPosition
NewText
OldBuffer
OldLength
OldPosition
OldText

Methods

ApplyChange(Span)

Applies the text change to the content of the span and returns the new content. This method doesn't update the span content.

ApplyChange(String, Int32)
Equals(Object)
GetHashCode()
Normalize()

Removes a common prefix from the edit to turn IntelliSense replacements into insertions where possible

ToString()

Operators

Equality(TextChange, TextChange)
Inequality(TextChange, TextChange)

Applies to