From e5da2afe2454033576cdee2a44f4b4a25ed21fe6 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 29 Jan 2001 09:04:02 +0000 Subject: Updated documentation of caret policy and visible policy. --- doc/ScintillaDoc.html | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'doc') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 1ed2a6783..df20a0926 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -213,11 +213,16 @@ SCI_MOVECARETINSIDEVIEW within the line of the caret.

- 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. SCI_SETVISIBLEPOLICY is a similar function that + SCI_SETCARETPOLICY can be set to a combination of the flags CARET_SLOP + and CARET_STRICT to change the automatic vertical positioning of the view + when ensuring a position is visible. If CARET_SLOP is on then the slop value + determines the number of line at top and botom of the view where the caret should not + go. If CARET_SLOP is off then the caret is centred within the view. When + CARET_STRICT is set then caret policy is rechecked even if the caret is completely + 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 + called. It takes VISIBLE_SLOP and VISIBLE_STRICT flags for the policy parameter.

-- cgit v1.2.3