LineBreakInlineParser Class

An inline parser for LineBreakInline.

public class LineBreakInlineParser : InlineParser

See also

Inheritance
InlineParser LineBreakInlineParser

Constructors

NameDescription
LineBreakInlineParser()Initializes a new instance of the LineBreakInlineParser class.

LineBreakInlineParser()

LineBreakInlineParser.cs

Initializes a new instance of the LineBreakInlineParser class.

public LineBreakInlineParser()

Properties

NameDescription
EnableSoftAsHardGets or sets a value indicating whether to interpret softline breaks as hardline breaks. Default is false

EnableSoftAsHard

LineBreakInlineParser.cs

Gets or sets a value indicating whether to interpret softline breaks as hardline breaks. Default is false

public bool EnableSoftAsHard { get; set; }

Property value

bool

Methods

NameDescription
Match(InlineProcessor, StringSlice)Attempts to match the parser at the current position.

Match(InlineProcessor, StringSlice)

LineBreakInlineParser.cs

Attempts to match the parser at the current position.

public override bool Match(InlineProcessor processor, ref StringSlice slice)

Parameters

processor InlineProcessor
slice StringSlice

Returns

bool