From 9cb4cca29f5535ea07f0582dad57186bae6ec474 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 21 Dec 2000 01:39:34 +0000 Subject: Patch from James for SetVisiblePolicy. --- include/Scintilla.h | 3 +++ include/Scintilla.iface | 7 +++++++ 2 files changed, 10 insertions(+) (limited to 'include') 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(,) -- cgit v1.2.3