diff options
author | nyamatongwe <unknown> | 2012-07-02 15:36:58 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2012-07-02 15:36:58 +1000 |
commit | efef37574f047fc428b9de410bd8da30809671ed (patch) | |
tree | bb4f8645d1e392864852a8a10d5e7546411a20ca /src | |
parent | 4d2ebae708d1b3013805f1a71af51bb8eca09f93 (diff) | |
download | scintilla-mirror-efef37574f047fc428b9de410bd8da30809671ed.tar.gz |
Make IsLowerCase and IsUpperCase not depend on non-portable isascii, take
an int argument to match similar calls, and move to header for wider use.
Diffstat (limited to 'src')
-rw-r--r-- | src/Document.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/Document.cxx b/src/Document.cxx index 72c931b95..00ae1dbb8 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -48,14 +48,6 @@ static inline bool IsADigit(char ch) { return isascii(ch) && isdigit(ch); } -static inline bool IsLowerCase(char ch) { - return isascii(ch) && islower(ch); -} - -static inline bool IsUpperCase(char ch) { - return isascii(ch) && isupper(ch); -} - void LexInterface::Colourise(int start, int end) { if (pdoc && instance && !performingStyle) { // Protect against reentrance, which may occur, for example, when |