Merge pull request #944 from peter-scholtens/master
[geany-mirror.git] / scintilla / include / Sci_Position.h
bloba83e2864f6ab800c4e020c683abe16ef27705280
1 // Scintilla source code edit control
2 /** @file Sci_Position.h
3 ** Define the Sci_Position type used in Scintilla's external interfaces.
4 ** These need to be available to clients written in C so are not in a C++ namespace.
5 **/
6 // Copyright 2015 by Neil Hodgson <neilh@scintilla.org>
7 // The License.txt file describes the conditions under which this software may be distributed.
9 #ifndef SCI_POSITION_H
10 #define SCI_POSITION_H
12 // Basic signed type used throughout interface
13 typedef int Sci_Position;
15 // Unsigned variant used for ILexer::Lex and ILexer::Fold
16 typedef unsigned int Sci_PositionU;
18 // For Sci_CharacterRange which is defined as long to be compatible with Win32 CHARRANGE
19 typedef long Sci_PositionCR;
21 #endif