Skip to content

MKCharacter

Description

Stores an individual character and its absolute 0-based position in the original Markdown source.

Properties

Name Type Read-Only
AbsolutePosition Integer
IsLineEnding Boolean
Line XUITextLine
LocalPosition Integer
Value String

Methods

Name Parameters Returns
Constructor value As String, line As XUITextLine, localPosition As Integer
CreateLineEnding line As XUITextLine MKCharacter

Property Descriptions

AbsolutePosition As Integer

The 0-based position of this character in the original source. Set to -1 if this is a special line ending character.


IsLineEnding As Boolean

True if this is a special line ending character (position will be set to -1).


Line As XUITextLine

The text line this character is on.


LocalPosition As Integer

The 0-based local position of this character on its line.


Value As String

The character.


Method Descriptions

Constructor(value As String, line As XUITextLine, localPosition As Integer)

Default constructor.

  • value is the character.
  • line is the line the character is on.
  • localPosition is the 0-based position of the character on the line.

CreateLineEnding(line As XUITextLine) As MKCharacter This method is shared.

Returns a special line ending character.