aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/ScintillaDoc.html
diff options
context:
space:
mode:
authornyamatongwe <unknown>2000-12-21 01:39:34 +0000
committernyamatongwe <unknown>2000-12-21 01:39:34 +0000
commit9cb4cca29f5535ea07f0582dad57186bae6ec474 (patch)
tree95eb8d74c91cf022023e8f0f027822fd726c0ca0 /doc/ScintillaDoc.html
parent9e91e969b5b32bbc4bfbb4b72b33514670b6439d (diff)
downloadscintilla-mirror-9cb4cca29f5535ea07f0582dad57186bae6ec474.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