1 // Scintilla source code edit control
3 ** Classes for case folding.
5 // Copyright 1998-2013 by Neil Hodgson <neilh@scintilla.org>
6 // The License.txt file describes the conditions under which this software may be distributed.
17 virtual ~CaseFolder();
18 virtual size_t Fold(char *folded
, size_t sizeFolded
, const char *mixed
, size_t lenMixed
) = 0;
21 class CaseFolderTable
: public CaseFolder
{
26 virtual ~CaseFolderTable();
27 virtual size_t Fold(char *folded
, size_t sizeFolded
, const char *mixed
, size_t lenMixed
);
28 void SetTranslation(char ch
, char chTranslation
);
34 class CaseFolderUnicode
: public CaseFolderTable
{
35 ICaseConverter
*converter
;
38 virtual size_t Fold(char *folded
, size_t sizeFolded
, const char *mixed
, size_t lenMixed
);