MKCodeSpan
Inherits MKBlock
Description
Represents a codespan within a Markdown document.
Properties
Name | Type | Read-Only |
---|---|---|
BacktickStringLength | Integer |
|
FirstClosingBacktickChar | MarkdownKit.MKCharacter |
|
LocalStart | Integer |
|
OpeningBacktickChar | MarkdownKit.MKCharacter |
|
ParentClosingBacktickStringStart | Integer |
Methods
Name | Parameters | Returns |
---|---|---|
Constructor | parent As MKBlock , absoluteStartPos As Integer , localStartPos As Integer , lineNumber As Integer , backtickStringLength As Integer , parentClosingBacktickStringStart As Integer , openingBacktickChar As MarkdownKit.MKCharacter , firstClosingBacktickChar As MarkdownKit.MKCharacter |
|
Finalise | line As XUITextLine |
Property Descriptions
BacktickStringLength As Integer
The length of the flanking backtick delimiters around this code span.
FirstClosingBacktickChar As MarkdownKit.MKCharacter
The (first) closing backtick character.
LocalStart As Integer
0-based index in Parent.Characters
that the opening backtick character of this code span begins.
OpeningBacktickChar As MarkdownKit.MKCharacter
The opening backtick character.
ParentClosingBacktickStringStart As Integer
0-based index in this code span's parent paragraph's Characters
array of the first character of the closing backtick string.
Method Descriptions
Constructor(parent As MKBlock, absoluteStartPos As Integer, localStartPos As Integer, lineNumber As Integer, backtickStringLength As Integer, parentClosingBacktickStringStart As Integer, openingBacktickChar As MarkdownKit.MKCharacter, firstClosingBacktickChar As MarkdownKit.MKCharacter)
Default constructor.
parent
is this block's parent.absoluteStartPos
is the 0-based position in the original source code that this block begins at.localStartPos
is the 0-based index inparent.Characters
that the opening backtick character of this code span begins.lineNumber
is the 1-based line number of the line this block occurs on.backtickStringLength
is the length of the flanking backtick delimiters around this code span.parentClosingBacktickStringLength
is the 0-based index in this code span's parent paragraph'sCharacters
array of the first character of the closing backtick string.- openingBacktickChar` is the opening backtick character.
Finalise(line As XUITextLine)
Closes this block and makes any final changes that may be required.