diff options
author | Neil <nyamatongwe@gmail.com> | 2023-02-12 12:01:21 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2023-02-12 12:01:21 +1100 |
commit | 80a1e22a987c4e749dd03500edc3ac4e189537c5 (patch) | |
tree | 1dc58be5e57c8c77036e2201806ac7f20dd38dfb /src/PositionCache.h | |
parent | 1b585d29ad82606c327294837e27ffcd7a66172b (diff) | |
download | scintilla-mirror-80a1e22a987c4e749dd03500edc3ac4e189537c5.tar.gz |
Feature [feature-requests:#1476] Move default representation code into
SpecialRepresentations class.
Diffstat (limited to 'src/PositionCache.h')
-rw-r--r-- | src/PositionCache.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/PositionCache.h b/src/PositionCache.h index 231b9791e..0add8319a 100644 --- a/src/PositionCache.h +++ b/src/PositionCache.h @@ -180,6 +180,9 @@ public: typedef std::map<unsigned int, Representation> MapRepresentation; +const char *ControlCharacterString(unsigned char ch) noexcept; +void Hexits(char *hexits, int ch) noexcept; + class SpecialRepresentations { MapRepresentation mapReprs; unsigned short startByteHasReprs[0x100] {}; @@ -199,6 +202,7 @@ public: return startByteHasReprs[ch] != 0; } void Clear(); + void SetDefaultRepresentations(int dbcsCodePage); }; struct TextSegment { |