aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2005-02-04 22:54:21 +0000
committernyamatongwe <devnull@localhost>2005-02-04 22:54:21 +0000
commit93f0fad260ab7b4525f20a95f3ee8dcefdf8e739 (patch)
tree5394a1f5a0aef3ea52c3a0d008edde5f80c13c43
parent7918d57e56e74999fd7d6b20790df13167c69757 (diff)
downloadscintilla-mirror-93f0fad260ab7b4525f20a95f3ee8dcefdf8e739.tar.gz
Exits from dwell by firing SCN_DWELLEND when scroll performed.
-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