]> 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 2bb6faced295abd6f936e6e17df4ac8441793877..8dcb0acc3a804ded53e95e6dca5fb17f0195e8fa 100644 (file)
@@ -1,10 +1,13 @@
 // -*- C++ -*-
 /**
  * \file textutils.h
- * Copyright 1995-2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author unknown
+ * \author Matthias Ettrich
+ * \author Lars Gullik Bjønnes
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 // FIXME: I can think of a better name for this 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)
@@ -36,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)
@@ -79,7 +66,6 @@ bool IsKommaChar(char c)
                || c == '^'
                || c == '/'
                || c == '\\'
-               || c == Paragraph::META_NEWLINE
                );
 }
 
@@ -116,7 +102,6 @@ bool IsWordChar(unsigned char c)
 {
        return !(IsSeparatorChar(c)
                  || IsKommaChar(c)
-                 || IsHfillChar(c)
                  || IsInsetChar(c));
 }