From 69b778424b380a32a6c83526b678466712c4a220 Mon Sep 17 00:00:00 2001 From: Neil Date: Mon, 12 Jun 2017 11:49:56 +1000 Subject: 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. --- src/DBCS.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/DBCS.h (limited to 'src/DBCS.h') 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 +// 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 -- cgit v1.2.3