Recognize .exp (Expect) files as Tcl
[geany-mirror.git] / scintilla / lexlib / CharacterCategory.h
blobc8600504bb4f37e77f0a0807a6372aabb54c6628
1 // Scintilla source code edit control
2 /** @file CharacterCategory.h
3 ** Returns the Unicode general category of a character.
4 **/
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
11 #ifdef SCI_NAMESPACE
12 namespace Scintilla {
13 #endif
15 enum CharacterCategory {
16 ccLu, ccLl, ccLt, ccLm, ccLo,
17 ccMn, ccMc, ccMe,
18 ccNd, ccNl, ccNo,
19 ccPc, ccPd, ccPs, ccPe, ccPi, ccPf, ccPo,
20 ccSm, ccSc, ccSk, ccSo,
21 ccZs, ccZl, ccZp,
22 ccCc, ccCf, ccCs, ccCo, ccCn
25 CharacterCategory CategoriseCharacter(int character);
27 #ifdef SCI_NAMESPACE
29 #endif
31 #endif