From 2189d4ff82cd7a48802fd5ce545a29d80e198adf Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 20 Mar 2013 20:37:41 +1100 Subject: Add ScrollRange feature. --- doc/ScintillaDoc.html | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/ScintillaDoc.html') diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 7e362ffb9..cfa13bfdc 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -1730,6 +1730,7 @@ struct Sci_TextToFind {

Scrolling and automatic scrolling

SCI_LINESCROLL(int column, int line)
SCI_SCROLLCARET
+ SCI_SCROLLRANGE(int secondary, int primary)
SCI_SETXCARETPOLICY(int caretPolicy, int caretSlop)
SCI_SETYCARETPOLICY(int caretPolicy, int @@ -1766,6 +1767,14 @@ struct Sci_TextToFind { If the current position (this is the caret if there is no selection) is not visible, the view is scrolled to make it visible according to the current caret policy.

+

SCI_SCROLLRANGE(int secondary, int primary)
+ Scroll the argument positions and the range between them into view giving + priority to the primary position then the secondary position. + The behaviour is similar to
SCI_SCROLLCARET + with the primary position used instead of the caret. An effort is then made to ensure that the secondary + position and range between are also visible. + This may be used to make a search match visible.

+

SCI_SETXCARETPOLICY(int caretPolicy, int caretSlop)
SCI_SETYCARETPOLICY(int caretPolicy, int caretSlop)
These set the caret policy. The value of caretPolicy is a combination of -- cgit v1.2.3