aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-10-02 06:04:52 +0000
committernyamatongwe <devnull@localhost>2001-10-02 06:04:52 +0000
commit7ad772ff99465f07a6a7bae67bc9c2dc13c9ea23 (patch)
tree8d3528addcc66c43abb5d2420d04d8073b339324 /include
parentbec26dd4526636a5078b4790a1287de57ced60ad (diff)
downloadscintilla-mirror-7ad772ff99465f07a6a7bae67bc9c2dc13c9ea23.tar.gz
Patch from Mark to make the x offset accessible through the API.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h2
-rw-r--r--include/Scintilla.iface4
2 files changed, 6 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index 7202712ad..19429a493 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -442,6 +442,8 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam,
#define SCI_SETVISIBLEPOLICY 2394
#define SCI_DELLINELEFT 2395
#define SCI_DELLINERIGHT 2396
+#define SCI_SETXOFFSET 2397
+#define SCI_GETXOFFSET 2398
#define SCI_GRABFOCUS 2400
#define SCI_STARTRECORD 3001
#define SCI_STOPRECORD 3002
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index 6c31eaa70..c77fe2b9e 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -1169,6 +1169,10 @@ fun void DelLineLeft=2395(,)
# Delete forwards from the current position to the end of the line
fun void DelLineRight=2396(,)
+# Get and Set the xOffset (ie, horizonal scroll position)
+set void SetXOffset=2397(int newOffset,)
+get int GetXOffset=2398(,)
+
# Set the focus to this Scintilla widget.
# GTK+ Specific
fun void GrabFocus=2400(,)