diff options
author | Neil <nyamatongwe@gmail.com> | 2021-10-05 14:38:47 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-10-05 14:38:47 +1100 |
commit | 9e06aef78c343476ee39698c0f17aa49b7e49999 (patch) | |
tree | fe5bb15362ffed7ff10ced26339c80df7a1e2de6 /src/PositionCache.h | |
parent | 180ea34843782451f6d0684af51b584b83a4dd62 (diff) | |
download | scintilla-mirror-9e06aef78c343476ee39698c0f17aa49b7e49999.tar.gz |
Feature [feature-requests:#1417] Consolidate character classification functions
in CharacterType.h, merging duplicate functions, removing unused functions and
stadardizing names.
Diffstat (limited to 'src/PositionCache.h')
-rw-r--r-- | src/PositionCache.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/PositionCache.h b/src/PositionCache.h index dece77040..3c4ca88c3 100644 --- a/src/PositionCache.h +++ b/src/PositionCache.h @@ -10,14 +10,6 @@ namespace Scintilla::Internal { -inline constexpr bool IsEOLChar(int ch) noexcept { - return (ch == '\r') || (ch == '\n'); -} - -inline constexpr bool IsSpaceOrTab(int ch) noexcept { - return ch == ' ' || ch == '\t'; -} - /** * A point in document space. * Uses double for sufficient resolution in large (>20,000,000 line) documents. |