From 9e06aef78c343476ee39698c0f17aa49b7e49999 Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 5 Oct 2021 14:38:47 +1100 Subject: Feature [feature-requests:#1417] Consolidate character classification functions in CharacterType.h, merging duplicate functions, removing unused functions and stadardizing names. --- src/PositionCache.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/PositionCache.h') 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. -- cgit v1.2.3