summaryrefslogtreecommitdiffstats
path: root/src/dom/charclass.h
diff options
context:
space:
mode:
authorBob Jamison <ishmalius@gmail.com>2006-02-28 20:28:32 +0000
committerishmal <ishmal@users.sourceforge.net>2006-02-28 20:28:32 +0000
commitb0bc934618bd8b324ea40b513a5b72191370db60 (patch)
treed948742029487298b52f14d68e94fced8c14758f /src/dom/charclass.h
parentFixed bug with color drag-n-drop (diff)
downloadinkscape-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-xsrc/dom/charclass.h38
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__ */