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/types.h"
23 /// return true if the char is a line separator
25 bool isLineSeparatorChar(char_type c)
30 /// return true if a char is alphabetical (including accented chars)
31 bool isLetterChar(char_type c);
33 /// return whether \p c is an alphabetic character in the ASCII range
34 bool isAlphaASCII(char_type c);
36 /// return true if the char is printable
37 bool isPrintable(char_type c);
39 /// return true if the char is printable and not a space
40 bool isPrintableNonspace(char_type c);
42 /// return true if a unicode char is a digit.
43 bool isDigit(char_type c);
45 /// return whether \p c is a digit in the ASCII range
46 bool isDigitASCII(char_type c);