Méthode | Description | |
---|---|---|
IsNewLineBeforePosition ( this textProvider, int position ) : bool |
Detemines if there is nothing but whitespace between given position and preceding line break or beginning of the file.
|
|
IsWhiteSpaceOnlyRange ( this textProvider, int start, int end ) : bool | ||
IsWhitespaceBeforePosition ( this textProvider, int position ) : bool | ||
LineBreaksAfterPosition ( this textProvider, int position ) : int |
Counts number of line breaks between position and the nearest non-whitespace character that follows the position
|
|
LineBreaksBeforePosition ( this textProvider, int position ) : int |
Counts number of line breaks between position and the nearest non-whitespace character that precedes the position
|
|
TryGetNewLineBeforePosition ( this textProvider, int position, int &newLinePosition ) : bool |
public static IsNewLineBeforePosition ( this textProvider, int position ) : bool | ||
textProvider | this | Text provider |
position | int | Position to check |
Résultat | bool |
public static IsWhiteSpaceOnlyRange ( this textProvider, int start, int end ) : bool | ||
textProvider | this | |
start | int | |
end | int | |
Résultat | bool |
public static IsWhitespaceBeforePosition ( this textProvider, int position ) : bool | ||
textProvider | this | |
position | int | |
Résultat | bool |
public static LineBreaksAfterPosition ( this textProvider, int position ) : int | ||
textProvider | this | |
position | int | |
Résultat | int |
public static LineBreaksBeforePosition ( this textProvider, int position ) : int | ||
textProvider | this | |
position | int | |
Résultat | int |
public static TryGetNewLineBeforePosition ( this textProvider, int position, int &newLinePosition ) : bool | ||
textProvider | this | |
position | int | |
newLinePosition | int | |
Résultat | bool |