4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Matthias Ettrich
8 * \author Lars Gullik Bjønnes
10 * Full author contact details are available in file CREDITS.
13 // FIXME: I can think of a better name for this file ...
18 #include "support/strfwd.h"
23 /// return true if the char is a line separator
24 inline bool isLineSeparatorChar(char_type c) { return c == ' '; }
26 /// return true if a char is alphabetical (including accented chars)
27 bool isLetterChar(char_type c);
29 /// return whether \p c is an alphabetic character in the ASCII range
30 bool isAlphaASCII(char_type c);
32 /// return true if the char is printable
33 bool isPrintable(char_type c);
35 /// return true if the char is printable and not a space
36 bool isPrintableNonspace(char_type c);
38 /// return true if a unicode char is a space.
39 bool isSpace(char_type c);
41 /// return true if a unicode char is a digit.
42 bool isDigit(char_type c);
44 /// return whether \p c is a digit in the ASCII range
45 bool isDigitASCII(char_type c);