diff options
| author | Bob Jamison <ishmalius@gmail.com> | 2006-02-28 20:28:32 +0000 |
|---|---|---|
| committer | ishmal <ishmal@users.sourceforge.net> | 2006-02-28 20:28:32 +0000 |
| commit | b0bc934618bd8b324ea40b513a5b72191370db60 (patch) | |
| tree | d948742029487298b52f14d68e94fced8c14758f /src/dom/charclass.h | |
| parent | Fixed bug with color drag-n-drop (diff) | |
| download | inkscape-b0bc934618bd8b324ea40b513a5b72191370db60.tar.gz inkscape-b0bc934618bd8b324ea40b513a5b72191370db60.zip | |
Replace isspace() with isWhitespace(). Use pure unicode character classes.
(bzr r190)
Diffstat (limited to 'src/dom/charclass.h')
| -rwxr-xr-x | src/dom/charclass.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/dom/charclass.h b/src/dom/charclass.h index 5de08c0d4..800fd1c42 100755 --- a/src/dom/charclass.h +++ b/src/dom/charclass.h @@ -165,6 +165,44 @@ bool isExtender(int ch); +/** + * + * Following are from unicode.org, in the UnicodeData file + * in the Unicode Database + */ + +/** + * + */ +bool isSpaceSeparator(int ch); + +/** + * + */ +bool isLineSeparator(int ch); + +/** + * + */ +bool isParagraphSeparator(int ch); + +/** + * + */ +bool isSpaceChar(int ch); + +/** + * + */ +bool isNonBreakingSpace(int ch); + +/** + * + */ +bool isWhitespace(int ch); + + + #endif /* __CHARCLASS_H__ */ |
