diff options
| author | jpbruyere <jp.bruyere@hotmail.com> | 2016-07-30 10:00:02 +0200 |
|---|---|---|
| committer | jpbruyere <jp.bruyere@hotmail.com> | 2016-07-30 10:00:02 +0200 |
| commit | dca4d91d401ba718eccb83d6be42a12f55919838 (patch) | |
| tree | 7822513d2718fdaf7f1971fab03138e9f93904a4 /src/ExtensionsMethods.cs | |
| parent | e4e8fa3e55edf6205387cab650ab156055d83143 (diff) | |
remove style attributes, add ';' to style files line ending, new style parser
Diffstat (limited to 'src/ExtensionsMethods.cs')
| -rw-r--r-- | src/ExtensionsMethods.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ExtensionsMethods.cs b/src/ExtensionsMethods.cs index 10aaf20a..8985c929 100644 --- a/src/ExtensionsMethods.cs +++ b/src/ExtensionsMethods.cs @@ -65,6 +65,10 @@ namespace Crow var ret = Run.DynamicInvoke(data); return ret; } + public static bool IsWhiteSpaceOrNewLine (this char c) + { + return c == '\t' || c == '\r' || c == '\n' || char.IsWhiteSpace (c); + } } } |