aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h2
-rw-r--r--include/Scintilla.iface8
2 files changed, 10 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index c377d07cc..470425e76 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -535,6 +535,8 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_PARADOWNEXTEND 2414
#define SCI_PARAUP 2415
#define SCI_PARAUPEXTEND 2416
+#define SCI_POSITIONBEFORE 2417
+#define SCI_POSITIONAFTER 2418
#define SCI_STARTRECORD 3001
#define SCI_STOPRECORD 3002
#define SCI_SETLEXER 4001
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 8ad828cd0..3b71a37a3 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -1441,6 +1441,14 @@ fun void ParaDownExtend=2414(,)
fun void ParaUp=2415(,)
fun void ParaUpExtend=2416(,)
+# Given a valid document position, return the previous position taking code
+# page into account. Returns 0 if passed 0.
+fun position PositionBefore=2417(position pos,)
+
+# Given a valid document position, return the next position taking code
+# page into account. Maximum value returned is the last position in the document.
+fun position PositionAfter=2418(position pos,)
+
# Start notifying the container of all key presses and commands.
fun void StartRecord=3001(,)