From 6039080cfba2b9344fa9cde2ba5688d2db590d66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrico=20Tr=C3=B6ger?= Date: Tue, 17 Jan 2023 19:03:05 +1100 Subject: Bug [#2375]. On Win32, fix scrolling speed to not be too fast. --- doc/ScintillaHistory.html | 5 +++++ gtk/ScintillaGTK.cxx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index b9b067600..9bd4e2a44 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -575,6 +575,7 @@ Reinhard Nißl Ferdinand Oeinck Michael Heath + Enrico Tröger

Releases

@@ -600,6 +601,10 @@ Bug #2374.
  • + On GTK on Win32, fix scrolling speed to not be too fast. + Bug #2375. +
  • +
  • On Qt, fix indicator drawing past left of text pane over margin. Bug #2373.
  • diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx index ec6f83058..168416bb7 100755 --- a/gtk/ScintillaGTK.cxx +++ b/gtk/ScintillaGTK.cxx @@ -2000,7 +2000,7 @@ gint ScintillaGTK::ScrollEvent(GtkWidget *widget, GdkEventScroll *event) { // where the X11 server already has an adaptive scrolling algorithm // that fights with this one int cLineScroll; -#if defined(__APPLE__) && !defined(GDK_WINDOWING_QUARTZ) +#if (defined(__APPLE__) || defined(PLAT_GTK_WIN32)) && !defined(GDK_WINDOWING_QUARTZ) cLineScroll = sciThis->linesPerScroll; if (cLineScroll == 0) cLineScroll = 4; -- cgit v1.2.3