diff options
author | nyamatongwe <devnull@localhost> | 2013-03-20 20:37:41 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2013-03-20 20:37:41 +1100 |
commit | d123f6bfc56638d3da96d429d80e289adc477178 (patch) | |
tree | 19dd367f6ee6dde9eb9c50ea58ef48658c862ede /doc/ScintillaDoc.html | |
parent | 71dfc4460f88f3f51de924ec9b313bf91d803991 (diff) | |
download | scintilla-mirror-d123f6bfc56638d3da96d429d80e289adc477178.tar.gz |
Add ScrollRange feature.
Diffstat (limited to 'doc/ScintillaDoc.html')
-rw-r--r-- | doc/ScintillaDoc.html | 9 |
1 files changed, 9 insertions, 0 deletions
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 { <h2 id="ScrollingAndAutomaticScrolling">Scrolling and automatic scrolling</h2> <code><a class="message" href="#SCI_LINESCROLL">SCI_LINESCROLL(int column, int line)</a><br /> <a class="message" href="#SCI_SCROLLCARET">SCI_SCROLLCARET</a><br /> + <a class="message" href="#SCI_SCROLLRANGE">SCI_SCROLLRANGE(int secondary, int primary)</a><br /> <a class="message" href="#SCI_SETXCARETPOLICY">SCI_SETXCARETPOLICY(int caretPolicy, int caretSlop)</a><br /> <a class="message" href="#SCI_SETYCARETPOLICY">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.</p> + <p><b id="SCI_SCROLLRANGE">SCI_SCROLLRANGE(int secondary, int primary)</b><br /> + 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 <a class="message" href="#SCI_SCROLLCARET"><code>SCI_SCROLLCARET</code></a> + 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.</p> + <p><b id="SCI_SETXCARETPOLICY">SCI_SETXCARETPOLICY(int caretPolicy, int caretSlop)</b><br /> <b id="SCI_SETYCARETPOLICY">SCI_SETYCARETPOLICY(int caretPolicy, int caretSlop)</b><br /> These set the caret policy. The value of <code>caretPolicy</code> is a combination of |