From 7d0a1f96363ca349de3962e29217db60fd3664da Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 6 Feb 2005 01:08:18 +0000 Subject: Exits from dwell by firing SCN_DWELLEND when scroll performed. --- win32/ScintillaWin.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'win32') diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 8dba14b86..85b81d309 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -1034,6 +1034,7 @@ void ScintillaWin::ChangeScrollPos(int barType, int pos) { sci.fMask = SIF_POS; GetScrollInfo(barType, &sci); if (sci.nPos != pos) { + DwellEnd(true); sci.nPos = pos; SetScrollInfo(barType, &sci, TRUE); } -- cgit v1.2.3