csharp
public readonly record struct TextChangeRangeWhere two texts differ: in the old text became characters in the new one.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
What an incremental reparse consumes. Distinct from TextChange in carrying only the new length, not the new text: a reparser needs to know which region moved and by how much, and reads the characters from the new text itself.
Fields and properties (3)
public TextSpan SpanThe affected range in the old text.
public int NewLengthHow many characters replaced it.
public int DeltaCharacters added, minus characters removed.
Methods (2)
public TextChangeRange(TextSpan Span, int NewLength)Where two texts differ: in the old text became characters in the new one.
public override string ToString()Returns the fully qualified type name of this instance.
Used by (3)
- BlenderVixen.Core.Syntax
- SourceTextVixen.Core.Syntax
- TextChangeTestsVixen.Core.Syntax.Tests