From c199f158a0a2a6b38c492ac417c700b90c802f0e Mon Sep 17 00:00:00 2001 From: chinhster Date: Thu, 9 Nov 2017 09:04:57 +1100 Subject: Close autocompletion list for escape and delete on macOS 10.13 as the window was emptying but stayed visible. --- cocoa/PlatCocoa.mm | 2 +- doc/ScintillaHistory.html | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm index 5c61b9c7b..a8ea02f57 100644 --- a/cocoa/PlatCocoa.mm +++ b/cocoa/PlatCocoa.mm @@ -1724,7 +1724,7 @@ void Window::Destroy() { if (wid) { id idWin = (__bridge id)(wid); if ([idWin isKindOfClass: [NSWindow class]]) { - CFBridgingRelease(wid); + [idWin close]; } } wid = nullptr; diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index 36039a5b4..71eb3896e 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -545,6 +545,11 @@ by disabling animation on 10.13.
  • + Fix closing autocompletion lists on Cocoa for macOS 10.13 where the window + was emptying but staying visible. + Bug #1981. +
  • +
  • Fix Cocoa hang when Scintilla loaded from SMB share on macOS 10.13. Bug #1979.
  • -- cgit v1.2.3