diff options
author | chinhster <unknown> | 2017-11-09 09:04:57 +1100 |
---|---|---|
committer | chinhster <unknown> | 2017-11-09 09:04:57 +1100 |
commit | 7d91d5d928acc050a0aca92ed1a20753b43449d7 (patch) | |
tree | bc60b118abd8581850bf581e4afd408eb0b85d45 | |
parent | 15cdc7c516058f218d9f1aac1173b98c5ec1b50d (diff) | |
download | scintilla-mirror-7d91d5d928acc050a0aca92ed1a20753b43449d7.tar.gz |
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.
-rw-r--r-- | cocoa/PlatCocoa.mm | 3 | ||||
-rw-r--r-- | 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<id>(wid); if ([idWin isKindOfClass: [NSWindow class]]) { - NSWindow* win = static_cast<NSWindow*>(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 @@ <a href="http://sourceforge.net/p/scintilla/bugs/1978">Bug #1978</a>. </li> <li> + Fix closing autocompletion lists on Cocoa for macOS 10.13 where the window + was emptying but staying visible. + <a href="http://sourceforge.net/p/scintilla/bugs/1981/">Bug #1981</a>. + </li> + <li> Fix Cocoa hang when Scintilla loaded from SMB share on macOS 10.13. <a href="http://sourceforge.net/p/scintilla/bugs/1979/">Bug #1979</a>. </li> |