aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Position.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2015-07-27 13:10:03 +1000
committerNeil <nyamatongwe@gmail.com>2015-07-27 13:10:03 +1000
commit478d819121d970ca773cb52c99f396a9bf73ee62 (patch)
treeff5ffcff0baed0aec8864ec39a63e4e99230fe7a /src/Position.h
parentc30768f1167cfe590e0b6a12c4a986e82a210cc3 (diff)
downloadscintilla-mirror-478d819121d970ca773cb52c99f396a9bf73ee62.tar.gz
Add Position.h as a place-holder and to allow #include "Position.h" in source.
Diffstat (limited to 'src/Position.h')
-rw-r--r--src/Position.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/Position.h b/src/Position.h
new file mode 100644
index 000000000..4ef655263
--- /dev/null
+++ b/src/Position.h
@@ -0,0 +1,22 @@
+// Scintilla source code edit control
+/** @file Position.h
+ ** Will define global type name Position in the Sci internal namespace.
+ **/
+// Copyright 2015 by Neil Hodgson <neilh@scintilla.org>
+// The License.txt file describes the conditions under which this software may be distributed.
+
+#ifndef POSITION_H
+#define POSITION_H
+
+namespace Sci {
+
+// After 3.6.0:
+// typedef int Position;
+
+// A later version (4.x) of this file may:
+//#if defined(SCI_LARGE_FILE_SUPPORT)
+//typedef ptrdiff_t Position;
+
+}
+
+#endif