]> git.lyx.org Git - lyx.git/blobdiff - src/support/textutils.h
Remove executable status info from typeIndicator.
[lyx.git] / src / support / textutils.h
index 4770642a06ca05ebafeb72aab33445357024e83a..19867e79edbc85829ac36c76f3f6e6ee829d4a6d 100644 (file)
@@ -31,36 +31,6 @@ bool IsLineSeparatorChar(char c)
 }
 
 
-/// return true if the char is "punctuation"
-inline
-bool IsKommaChar(char c)
-{
-       return c == ','
-               || c == '('
-               || c == ')'
-               || c == '['
-               || c == ']'
-               || c == '{'
-               || c == '}'
-               || c == ';'
-               || c == '.'
-               || c == ':'
-               || c == '-'
-               || c == '?'
-               || c == '!'
-               || c == '&'
-               || c == '@'
-               || c == '+'
-               || c == '-'
-               || c == '~'
-               || c == '#'
-               || c == '%'
-               || c == '^'
-               || c == '/'
-               || c == '\\';
-}
-
-
 /// return true if a char is alphabetical (including accented chars)
 inline
 bool IsLetterChar(unsigned char c)
@@ -95,11 +65,4 @@ bool IsDigit(unsigned char ch)
 }
 
 
-/// return true if the char is alphanumeric
-inline
-bool IsLetterCharOrDigit(unsigned char ch)
-{
-       return IsLetterChar(ch) || IsDigit(ch);
-}
-
 #endif // TEXTUTILS_H