diff options
| author | Neil Hodgson <nyamatongwe@gmail.com> | 2018-01-30 12:40:53 +1100 | 
|---|---|---|
| committer | Neil Hodgson <nyamatongwe@gmail.com> | 2018-01-30 12:40:53 +1100 | 
| commit | 365542e73ee97316f4eaf1b3edc0cb6109c8a850 (patch) | |
| tree | 284adb766969bd2874467ace077443d2d558d3a8 | |
| parent | 013ef0a8bbe7bd5ac8a751eaa32c085a0b4e0c7c (diff) | |
| download | scintilla-mirror-365542e73ee97316f4eaf1b3edc0cb6109c8a850.tar.gz | |
Disable animated find indicator on macOS 10.12 as it causes drawing failures.
| -rw-r--r-- | cocoa/ScintillaCocoa.mm | 5 | ||||
| -rw-r--r-- | 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 @@  	<a href="http://sourceforge.net/p/scintilla/bugs/1981/">Bug #1981</a>.  	</li>  	<li> +	Fix drawing failure on Cocoa with animated find indicator in large files with macOS 10.12 +	by disabling animation. +	</li> +	<li>  	SciTE on GTK+ installs its desktop file as non-executable and supports the common  	LDLIBS make variable.  	<a href="http://sourceforge.net/p/scintilla/bugs/1989/">Bug #1989</a>,  | 
