X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Ftextutils.h;h=f5965882ec3b3d31c8f1ae68900667a286cac3ab;hb=c0000cc405063044fb4eca3f04ab35f69fe3dd74;hp=af7736c3c57c38f4a84ee780c9078e5ab74c6490;hpb=c420c81ec214796f3bbacc123991ae3ddf92a21f;p=lyx.git diff --git a/src/support/textutils.h b/src/support/textutils.h index af7736c3c5..f5965882ec 100644 --- a/src/support/textutils.h +++ b/src/support/textutils.h @@ -50,6 +50,12 @@ 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); + +/// return whether \p c is in the 'Punctuation, Open' unicode category +bool isOpenPunctuation(char_type c); + } // namespace lyx #endif // TEXTUTILS_H