aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2005-02-04 22:54:21 +0000
committernyamatongwe <unknown>2005-02-04 22:54:21 +0000
commit238a2070c615538703bfccc35d31f995029d8429 (patch)
tree5394a1f5a0aef3ea52c3a0d008edde5f80c13c43 /src
parent01d4a882a7f097316de205f44b27ab7b37b2c0db (diff)
downloadscintilla-mirror-238a2070c615538703bfccc35d31f995029d8429.tar.gz
Exits from dwell by firing SCN_DWELLEND when scroll performed.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index fbb0b694c..59bc76e9d 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -3164,6 +3164,9 @@ void Editor::SetScrollBars() {
int nMax = MaxScrollPos();
int nPage = LinesOnScreen();
bool modified = ModifyScrollBars(nMax + nPage - 1, nPage);
+ if (modified) {
+ DwellEnd(true);
+ }
// TODO: ensure always showing as many lines as possible
// May not be, if, for example, window made larger