Table of Contents

Class XmlLineState

Namespace
SharpConsoleUI.Highlighting
Assembly
SharpConsoleUI.dll

Per-line parser state for the XML highlighter (tracks comment/CDATA blocks).

public record XmlLineState : SyntaxLineState, IEquatable<SyntaxLineState>, IEquatable<XmlLineState>
Inheritance
XmlLineState
Implements
Inherited Members
Extension Methods

Constructors

XmlLineState(bool, bool)

Per-line parser state for the XML highlighter (tracks comment/CDATA blocks).

public XmlLineState(bool InComment = false, bool InCData = false)

Parameters

InComment bool

True when the line begins inside an unterminated XML comment.

InCData bool

True when the line begins inside an unterminated CDATA section.

Properties

InCData

True when the line begins inside an unterminated CDATA section.

public bool InCData { get; init; }

Property Value

bool

InComment

True when the line begins inside an unterminated XML comment.

public bool InComment { get; init; }

Property Value

bool