diff options
author | nyamatongwe <unknown> | 2013-03-20 20:37:41 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2013-03-20 20:37:41 +1100 |
commit | 2189d4ff82cd7a48802fd5ce545a29d80e198adf (patch) | |
tree | de3c9429efb963c6b9413e9745e3cc03372ab8b5 /include | |
parent | 612bdefb4bb1e41412f76d1a189bf65bc5052a07 (diff) | |
download | scintilla-mirror-2189d4ff82cd7a48802fd5ce545a29d80e198adf.tar.gz |
Add ScrollRange feature.
Diffstat (limited to 'include')
-rw-r--r-- | include/Scintilla.h | 1 | ||||
-rw-r--r-- | include/Scintilla.iface | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index 15a86682e..48c7ff379 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -382,6 +382,7 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SCI_POSITIONFROMLINE 2167 #define SCI_LINESCROLL 2168 #define SCI_SCROLLCARET 2169 +#define SCI_SCROLLRANGE 2569 #define SCI_REPLACESEL 2170 #define SCI_SETREADONLY 2171 #define SCI_NULL 2172 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 670d3937f..496f472ae 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -924,6 +924,11 @@ fun void LineScroll=2168(int columns, int lines) # Ensure the caret is visible. fun void ScrollCaret=2169(,) +# Scroll the argument positions and the range between them into view giving +# priority to the primary position then the secondary position. +# This may be used to make a search match visible. +fun void ScrollRange=2569(position secondary, position primary) + # Replace the selected text with the argument text. fun void ReplaceSel=2170(, string text) |