X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Ftextutils.h;h=78e34cb4891cf4dc4e948d7fed6b411718e05ca2;hb=8d640dc77608bedddb5b00982c23665584f52d21;hp=99594f32c3dfa5092e50a696ad1881b9ae451ab6;hpb=0940cd77d441938c8ea0849a213b869c8e5f9d74;p=lyx.git diff --git a/src/support/textutils.h b/src/support/textutils.h index 99594f32c3..78e34cb489 100644 --- a/src/support/textutils.h +++ b/src/support/textutils.h @@ -41,8 +41,8 @@ bool isPrintableNonspace(char_type c); /// return true if a unicode char is a space. bool isSpace(char_type c); -/// return true if a unicode char is a digit. -bool isDigit(char_type c); +/// return true if a unicode char is a numeral. +bool isNumber(char_type c); /// return whether \p c is a digit in the ASCII range bool isDigitASCII(char_type c); @@ -50,6 +50,9 @@ bool isDigitASCII(char_type c); /// return whether \p c is alpha or a digit in the ASCII range bool isAlnumASCII(char_type c); +/// return whether \p c is in the ASCII range +bool isASCII(char_type c); + } // namespace lyx #endif // TEXTUTILS_H