aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/ScintillaDoc.html
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 /doc/ScintillaDoc.html
parent13e6f5a8a457c42b6e319e30718ebc784f4b5d4a (diff)
downloadscintilla-mirror-f31ea2798b3f14721fc4be44e47ac09ba4f6c022.tar.gz
Patch from James for SetVisiblePolicy.
Diffstat (limited to 'doc/ScintillaDoc.html')
-rw-r--r--doc/ScintillaDoc.html8
1 files changed, 6 insertions, 2 deletions
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
<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.
+ 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.
</p>
<h3>
Searching