From 365542e73ee97316f4eaf1b3edc0cb6109c8a850 Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Tue, 30 Jan 2018 12:40:53 +1100 Subject: Disable animated find indicator on macOS 10.12 as it causes drawing failures. --- cocoa/ScintillaCocoa.mm | 5 +++-- doc/ScintillaHistory.html | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/cocoa/ScintillaCocoa.mm b/cocoa/ScintillaCocoa.mm index e4237fb1b..63eb9973f 100644 --- a/cocoa/ScintillaCocoa.mm +++ b/cocoa/ScintillaCocoa.mm @@ -803,11 +803,12 @@ sptr_t scintilla_send_message(void *sci, unsigned int iMessage, uptr_t wParam, s namespace { /** - * The animated find indicator fails with a "bogus layer size" message on macOS 10.13. + * The animated find indicator fails with a "bogus layer size" message on macOS 10.13 + * and causes drawing failures on macOS 10.12. */ bool SupportAnimatedFind() { - return floor(NSAppKitVersionNumber) <= NSAppKitVersionNumber10_12_2; + return floor(NSAppKitVersionNumber) < NSAppKitVersionNumber10_12; } } diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 536af8fdd..7665d2180 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -549,6 +549,10 @@ Bug #1981.
  • + Fix drawing failure on Cocoa with animated find indicator in large files with macOS 10.12 + by disabling animation. +
  • +
  • SciTE on GTK+ installs its desktop file as non-executable and supports the common LDLIBS make variable. Bug #1989, -- cgit v1.2.3