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.
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) |