1 // Scintilla source code edit control
2 /** @file CharacterCategory.h
3 ** Returns the Unicode general category of a character.
5 // Copyright 2013 by Neil Hodgson <neilh@scintilla.org>
6 // The License.txt file describes the conditions under which this software may be distributed.
8 #ifndef CHARACTERCATEGORY_H
9 #define CHARACTERCATEGORY_H
15 enum CharacterCategory
{
16 ccLu
, ccLl
, ccLt
, ccLm
, ccLo
,
19 ccPc
, ccPd
, ccPs
, ccPe
, ccPi
, ccPf
, ccPo
,
20 ccSm
, ccSc
, ccSk
, ccSo
,
22 ccCc
, ccCf
, ccCs
, ccCo
, ccCn
25 CharacterCategory
CategoriseCharacter(int character
);