]> git.lyx.org Git - lyx.git/blobdiff - src/support/textutils.h
split LyXText::rowlist_ into individual Paragraph::rows_ chunks
[lyx.git] / src / support / textutils.h
index 3a239da1337bb6723ddcee61aa7ae978f1148ed6..8dcb0acc3a804ded53e95e6dca5fb17f0195e8fa 100644 (file)
 #ifndef TEXTUTILS_H
 #define TEXTUTILS_H
 
-/// return true if the char is a meta-character newline
-inline
-bool IsNewlineChar(char c)
-{
-       return (c == Paragraph::META_NEWLINE);
-}
-
-
 /// return true if the char is a word separator
 inline
 bool IsSeparatorChar(char c)
@@ -39,14 +31,6 @@ bool IsLineSeparatorChar(char c)
 }
 
 
-/// return true if the char is a meta-character for hfill
-inline
-bool IsHfillChar(char c)
-{
-       return (c == Paragraph::META_HFILL);
-}
-
-
 /// return true if the char is a meta-character for an inset
 inline
 bool IsInsetChar(char c)
@@ -82,7 +66,6 @@ bool IsKommaChar(char c)
                || c == '^'
                || c == '/'
                || c == '\\'
-               || c == Paragraph::META_NEWLINE
                );
 }
 
@@ -119,7 +102,6 @@ bool IsWordChar(unsigned char c)
 {
        return !(IsSeparatorChar(c)
                  || IsKommaChar(c)
-                 || IsHfillChar(c)
                  || IsInsetChar(c));
 }