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. --- doc/ScintillaDoc.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index fdb12bc92..36868b308 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -192,7 +192,8 @@ SCI_SELECTALL SCI_GOTOLINE(int line) SCI_GOTOPOS(int position) SCI_GETCURLINE(int textlen, char *text) -SCI_SETCARETPOLICY(int policy) +SCI_SETCARETPOLICY(int policy, int slop) +SCI_SETVISIBLEPOLICY(int policy, int slop) SCI_LINESONSCREEN SCI_SELECTIONISRECTANGLE SCI_SETHSCROLLBAR(bool visible) @@ -213,7 +214,10 @@ SCI_GETHSCROLLBAR

SCI_SETCARETPOLICY can be set to a combination of the flags CARET_SLOP, CARET_CENTER, and CARET_STRICT to change the automatic vertical positioning of the view - when ensuring a position is visible. + when ensuring a position is visible. SCI_SETVISIBLEPOLICY is a similar function that + determines how the vertical positioning is determined when SCI_ENSUREVISIBLE is + called. It takes VISIBLE_SLOP, VISIBLE_CENTER, and VISIBLE_STRICT flags + for the policy parameter.

Searching -- cgit v1.2.3