MKATXHeadingBlock
Inherits MKBlock
Description
Represents an ATX block within a Markdown document.
Properties
Name | Type | Read-Only |
---|---|---|
ClosingSequenceAbsoluteStart | Integer |
|
ClosingSequenceCount | Integer |
|
ClosingSequenceLocalStart | Integer |
|
HasClosingSequence | Boolean |
✔ |
Level | Integer |
|
OpeningSequenceAbsoluteStart | Integer |
|
OpeningSequenceLength | Integer |
|
OpeningSequenceLocalStart | Integer |
Methods
Name | Parameters | Returns |
---|---|---|
Constructor | parent As MKBlock , blockStart As Integer |
|
Finalise | line As XUITextLine |
Property Descriptions
ClosingSequenceAbsoluteStart As Integer
The 0-based index in the original source of the first character of the optional closing sequence of #
characters or -1
if there is no closing sequence.
ClosingSequenceCount As Integer
The number of #
characters in the optional closing sequence. May be 0
.
ClosingSequenceLocalStart As Integer
The local 0-based index on the line of the first character of the optional closing sequence of #
characters or -1
if there is no closing sequence.
HasClosingSequence As Boolean
True if this ATX header had optional closing #
characters.
Level As Integer
This ATX header's level.
OpeningSequenceAbsoluteStart As Integer
0-based absolute position in the original source that the ATX opening sequence starts at.
OpeningSequenceLength As Integer
The number of characters comprising the opening sequence (includes whitespace after the #
characters).
OpeningSequenceLocalStart As Integer
0-based local position on the line that the ATX opening sequence starts at.
Method Descriptions
Constructor(parent As MKBlock, blockStart As Integer)
Default constructor.
parent
is the parent of this block.blockStart
is the 0-based position in the original Markdown source that this block begins at.
Finalise(line As XUITextLine)
Closes this block and makes any final changes that may be required.