aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2000-12-21 01:39:34 +0000
committernyamatongwe <devnull@localhost>2000-12-21 01:39:34 +0000
commitf31ea2798b3f14721fc4be44e47ac09ba4f6c022 (patch)
tree95eb8d74c91cf022023e8f0f027822fd726c0ca0 /include
parent13e6f5a8a457c42b6e319e30718ebc784f4b5d4a (diff)
downloadscintilla-mirror-f31ea2798b3f14721fc4be44e47ac09ba4f6c022.tar.gz
Patch from James for SetVisiblePolicy.
Diffstat (limited to 'include')
-rw-r--r--include/Scintilla.h3
-rw-r--r--include/Scintilla.iface7
2 files changed, 10 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h
index da41bb6bf..099f2e3b7 100644
--- a/include/Scintilla.h
+++ b/include/Scintilla.h
@@ -382,6 +382,9 @@ typedef long (*SciFnDirect)(long ptr, unsigned int iMessage, unsigned long wPara
#define SCI_WORDPARTLEFTEXTEND 2391
#define SCI_WORDPARTRIGHT 2392
#define SCI_WORDPARTRIGHTEXTEND 2393
+#define VISIBLE_SLOP 0x01
+#define VISIBLE_STRICT 0x04
+#define SCI_SETVISIBLEPOLICY 2394
#define SCI_GRABFOCUS 2400
#define SCI_STARTRECORD 3001
#define SCI_STOPRECORD 3002
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index f5ea2f965..d1107388f 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -1030,6 +1030,13 @@ fun void WordPartRight=2392(,)
# Move to the next change in capitalistion extending selection to new caret position.
fun void WordPartRightExtend=2393(,)
+# Constants for use with SetVisiblePolicy
+val VISIBLE_SLOP=0x01
+#val VISIBLE_CENTER=0x02
+val VISIBLE_STRICT=0x04
+# Set the way the display area is determined when a particular line is to be moved to.
+fun void SetVisiblePolicy=2394(int visiblePolicy, int visibleSlop)
+
# Set the focus to this Scintilla widget.
# GTK+ Specific
fun void GrabFocus=2400(,)