From 7d91d5d928acc050a0aca92ed1a20753b43449d7 Mon Sep 17 00:00:00 2001 From: chinhster Date: Thu, 9 Nov 2017 09:04:57 +1100 Subject: Backport: Close autocompletion list for escape and delete on macOS 10.13 as the window was emptying but stayed visible. Backport of changeset 6416:ab409d732f0f. --- cocoa/PlatCocoa.mm | 3 +-- doc/ScintillaHistory.html | 5 +++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/cocoa/PlatCocoa.mm b/cocoa/PlatCocoa.mm index 0069106e5..6547631ad 100644 --- a/cocoa/PlatCocoa.mm +++ b/cocoa/PlatCocoa.mm @@ -1908,8 +1908,7 @@ void Window::Destroy() id idWin = static_cast(wid); if ([idWin isKindOfClass: [NSWindow class]]) { - NSWindow* win = static_cast(idWin); - [win release]; + [idWin close]; } } wid = 0; diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html index cc08532c6..88c0c8cbb 100644 --- a/doc/ScintillaHistory.html +++ b/doc/ScintillaHistory.html @@ -608,6 +608,11 @@ Bug #1978.
  • + 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