diff options
| author | Neil <nyamatongwe@gmail.com> | 2017-06-12 11:49:56 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2017-06-12 11:49:56 +1000 |
| commit | 69b778424b380a32a6c83526b678466712c4a220 (patch) | |
| tree | 808839f4df4bc62dd0d5faf5cd24620e8cbf8b3a /src/DBCS.h | |
| parent | ccfd60b0fda24c2daa06ff02b2f909850095a56a (diff) | |
| download | scintilla-mirror-69b778424b380a32a6c83526b678466712c4a220.tar.gz | |
Backport: Removed unused functions and methods from Platform.h.
Replaced Platform::Clamp with Sci::clamp.
Drop MouseButtonBounce workaround for very early GTK+/Linux.
Backported from changeset 6307:7030530a9a0f.
Diffstat (limited to 'src/DBCS.h')
| -rw-r--r-- | src/DBCS.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/DBCS.h b/src/DBCS.h new file mode 100644 index 000000000..875d44c8f --- /dev/null +++ b/src/DBCS.h @@ -0,0 +1,21 @@ +// Scintilla source code edit control +/** @file DBCS.h + ** Functions to handle DBCS double byte encodings like Shift-JIS. + **/ +// Copyright 2017 by Neil Hodgson <neilh@scintilla.org> +// The License.txt file describes the conditions under which this software may be distributed. + +#ifndef DBCS_H +#define DBCS_H + +#ifdef SCI_NAMESPACE +namespace Scintilla { +#endif + +bool DBCSIsLeadByte(int codePage, char ch); + +#ifdef SCI_NAMESPACE +} +#endif + +#endif |
