Метод | Описание | |
---|---|---|
FindNextSingleNewLine ( string markdown, int startingPos, int endingPos, int &startOfNextLine ) : int |
Returns the next \n or \r\n in the markdown.
|
|
FindNextWhiteSpace ( string markdown, int startingPos, int endingPos, bool ifNotFoundReturnLength ) : int |
Finds the next whitespace in a range.
|
|
IndexOf ( string markdown, char search, int startingPos, int endingPos, bool reverseSearch = false ) : int |
Helper function for index of with a start and an ending.
|
|
IndexOf ( string markdown, string search, int startingPos, int endingPos, bool reverseSearch = false ) : int |
Helper function for index of with a start and an ending.
|
|
IsBlankOrWhiteSpace ( string str ) : bool |
Determines if a string is blank or comprised entirely of whitespace characters.
|
|
IsWhiteSpace ( char c ) : bool |
Determines if a character is a whitespace character.
|
|
ParseInlineChildren ( string markdown, int startingPos, int maxEndingPos, bool ignoreLinks = false ) : List |
This function can be called by any element parsing. Given a start and stopping point this will parse all found elements out of the range.
|
|
ParseLines ( string markdown, int start, int end, int quoteDepth ) : IEnumerable |
Parses lines.
|
|
SkipQuoteCharacters ( string markdown, int start, int end, int quoteDepth ) : int |
Skips a certain number of quote characters (>).
|
Метод | Описание | |
---|---|---|
Common ( ) : System | ||
FindNextInlineElement ( string markdown, int start, int end, bool ignoreLinks ) : InlineParseResult |
Finds the next inline element by matching trip chars and verifying the match.
|
public static FindNextSingleNewLine ( string markdown, int startingPos, int endingPos, int &startOfNextLine ) : int | ||
markdown | string | |
startingPos | int | |
endingPos | int | |
startOfNextLine | int | |
Результат | int |
public static FindNextWhiteSpace ( string markdown, int startingPos, int endingPos, bool ifNotFoundReturnLength ) : int | ||
markdown | string | |
startingPos | int | |
endingPos | int | |
ifNotFoundReturnLength | bool | |
Результат | int |
public static IndexOf ( string markdown, char search, int startingPos, int endingPos, bool reverseSearch = false ) : int | ||
markdown | string | |
search | char | |
startingPos | int | |
endingPos | int | |
reverseSearch | bool | |
Результат | int |
public static IndexOf ( string markdown, string search, int startingPos, int endingPos, bool reverseSearch = false ) : int | ||
markdown | string | |
search | string | |
startingPos | int | |
endingPos | int | |
reverseSearch | bool | |
Результат | int |
public static IsBlankOrWhiteSpace ( string str ) : bool | ||
str | string | |
Результат | bool |
public static IsWhiteSpace ( char c ) : bool | ||
c | char | |
Результат | bool |
public static ParseInlineChildren ( string markdown, int startingPos, int maxEndingPos, bool ignoreLinks = false ) : List |
||
markdown | string | |
startingPos | int | |
maxEndingPos | int | |
ignoreLinks | bool | Indicates whether to parse links. |
Результат | List |
public static ParseLines ( string markdown, int start, int end, int quoteDepth ) : IEnumerable |
||
markdown | string | |
start | int | |
end | int | |
quoteDepth | int | |
Результат | IEnumerable |
public static SkipQuoteCharacters ( string markdown, int start, int end, int quoteDepth ) : int | ||
markdown | string | |
start | int | |
end | int | |
quoteDepth | int | The number of quote characters to skip. |
Результат | int |