Method | Description | |
---|---|---|
IsNewLineBeforePosition ( ITextIterator iterator, int position ) : bool |
Determines if there is only whitespace and a line break before position
|
|
IsWhitespaceBeforePosition ( ITextIterator iterator, int position ) : bool |
Determines if there is a whitespace before given position
|
|
LineBreaksAfterPosition ( ITextIterator iterator, int position ) : int |
Determines number of line breaks after position
|
|
LineBreaksBeforePosition ( ITextIterator iterator, int position ) : int |
Determines number of line breaks before position
|
|
NormalizeWhitespace ( this s ) : string |
public static IsNewLineBeforePosition ( ITextIterator iterator, int position ) : bool | ||
iterator | ITextIterator | |
position | int | |
return | bool |
public static IsWhitespaceBeforePosition ( ITextIterator iterator, int position ) : bool | ||
iterator | ITextIterator | |
position | int | |
return | bool |
public static LineBreaksAfterPosition ( ITextIterator iterator, int position ) : int | ||
iterator | ITextIterator | |
position | int | |
return | int |
public static LineBreaksBeforePosition ( ITextIterator iterator, int position ) : int | ||
iterator | ITextIterator | |
position | int | |
return | int |
public static NormalizeWhitespace ( this s ) : string | ||
s | this | |
return | string |