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 /include | |
parent | 71dfc4460f88f3f51de924ec9b313bf91d803991 (diff) | |
download | scintilla-mirror-d123f6bfc56638d3da96d429d80e289adc477178.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) |