From 238a2070c615538703bfccc35d31f995029d8429 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 4 Feb 2005 22:54:21 +0000 Subject: Exits from dwell by firing SCN_DWELLEND when scroll performed. --- src/Editor.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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 -- cgit v1.2.3