aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2001-01-29 09:04:02 +0000
committernyamatongwe <unknown>2001-01-29 09:04:02 +0000
commite5da2afe2454033576cdee2a44f4b4a25ed21fe6 (patch)
tree30ce8ccad5e0a7f41f4ebd7c77ae5a8d92cbf677
parente4e173ee4aa0ba879210892c2f3e0530ea8731c4 (diff)
downloadscintilla-mirror-e5da2afe2454033576cdee2a44f4b4a25ed21fe6.tar.gz
Updated documentation of caret policy and visible policy.
-rw-r--r--doc/ScintillaDoc.html13
1 files changed, 9 insertions, 4 deletions
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.
</p>
<p>
- 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.
</p>
<h3>