diff options
| author | Neil <nyamatongwe@gmail.com> | 2021-10-03 08:35:22 +1100 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2021-10-03 08:35:22 +1100 |
| commit | 180ea34843782451f6d0684af51b584b83a4dd62 (patch) | |
| tree | 22eb7ac994e8cb719c66ca94a63b4ca266b6af31 /test/unit | |
| parent | 58c944057852a1f1fceecedf7378317b49007c20 (diff) | |
| download | scintilla-mirror-180ea34843782451f6d0684af51b584b83a4dd62.tar.gz | |
Feature [feature-requests:#1417] Add DEL (0x7F) to set of space characters.
Diffstat (limited to 'test/unit')
| -rw-r--r-- | test/unit/testCharClassify.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/testCharClassify.cxx b/test/unit/testCharClassify.cxx index 18bf9dc29..8a9279848 100644 --- a/test/unit/testCharClassify.cxx +++ b/test/unit/testCharClassify.cxx @@ -30,7 +30,7 @@ protected: for (int ch = 0; ch < 256; ch++) { if (ch == '\r' || ch == '\n') charClass[ch] = CharacterClass::newLine; - else if (ch < 0x20 || ch == ' ') + else if (ch < 0x20 || ch == ' ' || ch == '\x7f') charClass[ch] = CharacterClass::space; else if (ch >= 0x80 || isalnum(ch) || ch == '_') charClass[ch] = CharacterClass::word; |
