aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Scintilla.iface
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2001-01-29 08:59:40 +0000
committernyamatongwe <devnull@localhost>2001-01-29 08:59:40 +0000
commit26c142cd52a478e40bce25a8cdcb212f65b33041 (patch)
tree3c547b7160729fba6b399c183c109692c2eccad0 /include/Scintilla.iface
parentc03a85019354840cac47a05e5b6e09f91892f86e (diff)
downloadscintilla-mirror-26c142cd52a478e40bce25a8cdcb212f65b33041.tar.gz
Fiddled with caret and visible policies.
Diffstat (limited to 'include/Scintilla.iface')
-rw-r--r--include/Scintilla.iface11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/Scintilla.iface b/include/Scintilla.iface
index e72c83ba3..034817803 100644
--- a/include/Scintilla.iface
+++ b/include/Scintilla.iface
@@ -963,11 +963,13 @@ fun int SearchNext=2367(int flags, string text)
fun int SearchPrev=2368(int flags, string text)
# Show caret within N lines of edge when it's scrolled to view
+# If CARET_SLOP not set then centre caret on screen when it's
+# scrolled to view
val CARET_SLOP=0x01
-# Center caret on screen when it's scrolled to view
+# Value not used
val CARET_CENTER=0x02
-# OR this with CARET_CENTER to reposition even when visible, or
-# OR this with CARET_SLOP to reposition whenever outside slop border
+# If CARET_SLOP also set then reposition whenever outside slop border
+# If CARET_SLOP not set then recentre even when visible
val CARET_STRICT=0x04
# Set the way the line the caret is on is kept visible.
fun void SetCaretPolicy=2369(int caretPolicy, int caretSlop)
@@ -1030,9 +1032,8 @@ fun void WordPartRight=2392(,)
# Move to the next change in capitalistion extending selection to new caret position.
fun void WordPartRightExtend=2393(,)
-# Constants for use with SetVisiblePolicy
+# Constants for use with SetVisiblePolicy, similar to SetCaretPolicy
val VISIBLE_SLOP=0x01
-val VISIBLE_CENTER=0x02
val VISIBLE_STRICT=0x04
# Set the way the display area is determined when a particular line is to be moved to.
fun void SetVisiblePolicy=2394(int visiblePolicy, int visibleSlop)