Skip to content

StringTextDocument class

Immutable string-backed document for read-only text view consumers.

public sealed class StringTextDocument : IReadOnlyTextDocument
name description
StringTextDocument(…)
LineCount { get; }
TextLength { get; }
Version { get; }
GetCharAt(…)
GetLineByNumber(…)
GetLineByOffset(…)
GetLocation(…)
GetOffset(…)
GetText(…)
override ToString()